Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001156, allocations: 108.3 kB / 18.41 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 187 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2388/0.2388, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.64 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1503, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005467/0.1559, allocations: 3.492 MB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1578, allocations: 0.7984 MB / 475 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.1581, allocations: 11.94 kB / 475 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.1583, allocations: 71.28 kB / 475.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.1586, allocations: 130.8 kB / 475.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.159, allocations: 123.8 kB / 475.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005838/0.1596, allocations: 0.5333 MB / 475.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.16, allocations: 245.8 kB / 476.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.1602, allocations: 211.2 kB / 476.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.1605, allocations: 235 kB / 476.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.786e-05/0.1606, allocations: 52 kB / 476.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.437e-05/0.1607, allocations: 48 kB / 476.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.1608, allocations: 103.7 kB / 476.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.161, allocations: 250.8 kB / 477 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.1615, allocations: 0.5566 MB / 477.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1615, allocations: 3.938 kB / 477.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1615, allocations: 0 / 477.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1615, allocations: 3.938 kB / 477.5 MB, free: 6.773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001246/0.1628, allocations: 0.7603 MB / 478.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1628, allocations: 12.03 kB / 478.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.163, allocations: 56.27 kB / 478.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.1635, allocations: 309.5 kB / 478.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.1635, allocations: 41.38 kB / 478.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.1636, allocations: 44.38 kB / 478.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007735/0.1644, allocations: 459.3 kB / 479.2 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1644, allocations: 7.984 kB / 479.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/0.1644, allocations: 20 kB / 479.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.1645, allocations: 12 kB / 479.2 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006782/0.1651, allocations: 331.8 kB / 479.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.1674, allocations: 1.666 MB / 481.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.1679, allocations: 237 kB / 481.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.1682, allocations: 145.6 kB / 481.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1683, allocations: 8 kB / 481.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.1683, allocations: 34.56 kB / 481.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.1683, allocations: 0 / 481.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002794/0.1711, allocations: 1.338 MB / 483 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1712, allocations: 85.11 kB / 483.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.1714, allocations: 262.6 kB / 483.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1715, allocations: 29.7 kB / 483.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.1716, allocations: 259.4 kB / 483.6 MB, free: 296 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.627e-05/0.1717, allocations: 122.2 kB / 483.7 MB, free: 172 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1718, allocations: 81.97 kB / 483.8 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1719, allocations: 338.8 kB / 484.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.1722, allocations: 108.8 kB / 484.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.1725, allocations: 220.2 kB / 484.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000571/0.1731, allocations: 327.8 kB / 484.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1731, allocations: 4 kB / 484.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008129/0.174, allocations: 422.2 kB / 485.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.174, allocations: 12.05 kB / 485.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.174, allocations: 4 kB / 485.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001547/0.1742, allocations: 28.84 kB / 485.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004824/0.1747, allocations: 123.8 kB / 485.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.176, allocations: 1.442 MB / 486.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.1763, allocations: 23.89 kB / 486.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.1763, allocations: 24.06 kB / 486.8 MB, free: 12.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.1765, allocations: 157.7 kB / 487 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.693e-05/0.1766, allocations: 27.72 kB / 487 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.986e-05/0.1767, allocations: 38.17 kB / 487.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1767, allocations: 4 kB / 487.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1767, allocations: 0 / 487.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1767, allocations: 3.984 kB / 487.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1778, allocations: 0.7192 MB / 487.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1778, allocations: 0 / 487.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.1782, allocations: 95.88 kB / 487.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-05/0.1783, allocations: 28.91 kB / 487.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1784, allocations: 15.92 kB / 487.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009311/0.1793, allocations: 1.419 MB / 489.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1793, allocations: 0 / 489.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.1803, allocations: 0.6087 MB / 490 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.1804, allocations: 124.7 kB / 490.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.1805, allocations: 12 kB / 490.1 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.1807, allocations: 19.98 kB / 490.1 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.1808, allocations: 27.91 kB / 490.1 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1808, allocations: 12 kB / 490.2 MB, free: 9.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.181, allocations: 186 kB / 490.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.181, allocations: 0 / 490.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.1815, allocations: 92 kB / 490.4 MB, free: 8.965 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.1816, allocations: 103.3 kB / 490.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008484/0.1825, allocations: 408.5 kB / 490.9 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1825, allocations: 0 / 490.9 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.1829, allocations: 254.2 kB / 491.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1834, allocations: 52.42 kB / 491.2 MB, free: 8.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.185, allocations: 0.9007 MB / 492.1 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1854, allocations: 0.8151 MB / 492.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.1855, allocations: 34.91 kB / 493 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.1856, allocations: 31.42 kB / 493 MB, free: 6.285 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1856, allocations: 0 / 493 MB, free: 6.285 MB / 366.1 MB Notification: Performance of Templates: time 0.00738/0.193, allocations: 3.097 MB / 496.1 MB, free: 3.215 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches