Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001691, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001919/0.001919, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 66.45 kB / 307 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09308, allocations: 50.53 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1722/0.2654, allocations: 28.62 MB / 386.1 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01338/0.2788, allocations: 7.194 MB / 393.3 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005549/0.2844, allocations: 259.9 kB / 393.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02867/0.3131, allocations: 13.1 MB / 406.7 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.3238, allocations: 2.53 MB / 409.2 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00665/0.3305, allocations: 2.035 MB / 411.3 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0231/0.3536, allocations: 18.15 MB / 429.4 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07336/0.4269, allocations: 44.63 MB / 474 MB, free: 7.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01536/0.4423, allocations: 9.906 MB / 483.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0175/0.4599, allocations: 11.08 MB / 495 MB, free: 2.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007202/0.4671, allocations: 2.918 MB / 497.9 MB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009328/0.4764, allocations: 3.199 MB / 0.4894 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008586/0.4851, allocations: 5.472 MB / 0.4947 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01789/0.503, allocations: 10.83 MB / 0.5053 GB, free: 11.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3854/0.8884, allocations: 38.78 MB / 0.5432 GB, free: 83.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.8885, allocations: 3.375 kB / 0.5432 GB, free: 83.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.8885, allocations: 0 / 0.5432 GB, free: 83.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0009399/0.8894, allocations: 5.234 kB / 0.5432 GB, free: 83.34 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.06645/0.9559, allocations: 21.93 MB / 0.5646 GB, free: 74.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9559, allocations: 7.688 kB / 0.5646 GB, free: 74.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0467/1.003, allocations: 8.157 MB / 0.5726 GB, free: 70.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02483/1.028, allocations: 11.29 MB / 0.5836 GB, free: 62.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009751/1.029, allocations: 1.338 MB / 0.5849 GB, free: 60.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007194/1.036, allocations: 1.751 MB / 0.5866 GB, free: 59.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06592/1.102, allocations: 28.76 MB / 0.6147 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007434/1.102, allocations: 19.81 kB / 0.6147 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00682/1.109, allocations: 0.7308 MB / 0.6155 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007335/1.11, allocations: 0.8415 MB / 0.6163 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04412/1.154, allocations: 24.83 MB / 0.6405 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4052/1.559, allocations: 88.41 MB / 0.7269 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02579/1.585, allocations: 35.15 MB / 0.7612 GB, free: 125.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00747/1.593, allocations: 5.307 MB / 0.7664 GB, free: 125.4 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/1.593, allocations: 326.4 kB / 0.7667 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/1.593, allocations: 96.2 kB / 0.7668 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=577): time 7.304e-06/1.593, allocations: 0 / 0.7668 GB, free: 125.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=577): time 0.03089/1.624, allocations: 14.78 MB / 0.7812 GB, free: 124.4 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/1.624, allocations: 134 kB / 0.7813 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009746/1.634, allocations: 6.419 MB / 0.7876 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009572/1.635, allocations: 116.3 kB / 0.7877 GB, free: 123.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004553/1.64, allocations: 7.612 MB / 0.7951 GB, free: 119.8 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002127/1.642, allocations: 2.012 MB / 0.7971 GB, free: 118.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003134/1.645, allocations: 2.105 MB / 0.7992 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/1.645, allocations: 304.8 kB / 0.7995 GB, free: 118.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006169/1.651, allocations: 4.746 MB / 0.8041 GB, free: 118 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008876/1.66, allocations: 9.477 MB / 0.8134 GB, free: 110.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01831/1.678, allocations: 15.33 MB / 0.8283 GB, free: 96.67 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002386/1.679, allocations: 44 kB / 0.8284 GB, free: 96.62 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02468/1.703, allocations: 15.42 MB / 0.8434 GB, free: 81.12 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.704, allocations: 82.44 kB / 0.8435 GB, free: 81.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002468/1.704, allocations: 156 kB / 0.8436 GB, free: 80.89 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004903/1.709, allocations: 1.673 MB / 0.8453 GB, free: 79.21 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007458/1.716, allocations: 2.359 MB / 0.8476 GB, free: 76.85 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.728, allocations: 11.6 MB / 0.8589 GB, free: 65.13 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/1.736, allocations: 1.339 MB / 0.8602 GB, free: 63.78 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/1.738, allocations: 0.5351 MB / 0.8607 GB, free: 63.24 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01151/1.749, allocations: 7.149 MB / 0.8677 GB, free: 56.07 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/1.752, allocations: 0.6095 MB / 0.8683 GB, free: 55.46 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/1.766, allocations: 10.11 MB / 0.8782 GB, free: 45.23 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009749/1.775, allocations: 7.808 MB / 0.8858 GB, free: 37.34 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/1.776, allocations: 16 kB / 0.8858 GB, free: 37.32 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-05/1.776, allocations: 27.89 kB / 0.8859 GB, free: 37.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04235/1.818, allocations: 26.25 MB / 0.9115 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.818, allocations: 8 kB / 0.9115 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003708/1.822, allocations: 1.018 MB / 0.9125 GB, free: 9.527 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004623/1.826, allocations: 1.477 MB / 0.9139 GB, free: 8.043 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005527/1.827, allocations: 136 kB / 0.9141 GB, free: 7.91 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2421/2.069, allocations: 11.15 MB / 0.925 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/2.069, allocations: 15.05 kB / 0.925 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/2.088, allocations: 14.14 MB / 0.9388 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003463/2.092, allocations: 1.445 MB / 0.9402 GB, free: 159.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/2.093, allocations: 111 kB / 0.9403 GB, free: 159.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003264/2.096, allocations: 317.6 kB / 0.9406 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007146/2.097, allocations: 405.3 kB / 0.941 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002977/2.097, allocations: 173.3 kB / 0.9411 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00584/2.103, allocations: 4.306 MB / 0.9454 GB, free: 158 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.71e-07/2.103, allocations: 3.391 kB / 0.9454 GB, free: 158 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01128/2.114, allocations: 4.032 MB / 0.9493 GB, free: 156.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/2.116, allocations: 332.4 kB / 0.9496 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0528/2.168, allocations: 26.56 MB / 0.9755 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.058e-05/2.169, allocations: 11.44 kB / 0.9756 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008163/2.177, allocations: 4.66 MB / 0.9801 GB, free: 138.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/2.188, allocations: 1.571 MB / 0.9816 GB, free: 137.2 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04957/2.238, allocations: 29.46 MB / 1.01 GB, free: 110.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01853/2.256, allocations: 11.25 MB / 1.021 GB, free: 101.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01033/2.266, allocations: 3.771 MB / 1.025 GB, free: 99.34 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/2.269, allocations: 0.5413 MB / 1.026 GB, free: 98.83 MB / 0.5138 GB Notification: Performance of SimCode: time 2.134e-06/2.269, allocations: 3.938 kB / 1.026 GB, free: 98.83 MB / 0.5138 GB Notification: Performance of Templates: time 0.3673/2.636, allocations: 101.2 MB / 1.124 GB, free: 138.6 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches