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.0007309/0.000731, allocations: 96.14 kB / 17 MB, free: 6.398 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.0007979/0.0007979, allocations: 178.7 kB / 17.89 MB, free: 5.945 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.392/1.392, allocations: 223.3 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 44.24 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003784/0.1574, allocations: 2.993 MB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1588, allocations: 0.7481 MB / 475.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.159, allocations: 8 kB / 475.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.1592, allocations: 55.55 kB / 475.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.1595, allocations: 111.1 kB / 475.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1598, allocations: 91.89 kB / 475.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005207/0.1604, allocations: 494.2 kB / 476.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.1607, allocations: 182.7 kB / 476.3 MB, free: 9.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.161, allocations: 175.3 kB / 476.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.1613, allocations: 199 kB / 476.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.1613, allocations: 24 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.365e-05/0.1614, allocations: 28 kB / 476.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.212e-05/0.1615, allocations: 79.67 kB / 476.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.1616, allocations: 109.5 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.162, allocations: 423 kB / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.162, allocations: 0 / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.162, allocations: 0 / 477.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.162, allocations: 0 / 477.3 MB, free: 7.988 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.00119/0.1632, allocations: 0.7017 MB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1633, allocations: 8.031 kB / 478 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1634, allocations: 51.44 kB / 478 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.1638, allocations: 304.3 kB / 478.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.1638, allocations: 37 kB / 478.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.1639, allocations: 40 kB / 478.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/0.1647, allocations: 470.9 kB / 478.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1648, allocations: 0 / 478.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.1648, allocations: 20 kB / 478.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.1648, allocations: 12 kB / 478.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.1655, allocations: 335.8 kB / 479.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.168, allocations: 1.709 MB / 480.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.1685, allocations: 237 kB / 481.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.1689, allocations: 145.6 kB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1689, allocations: 4.219 kB / 481.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1689, allocations: 38.75 kB / 481.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/0.1689, allocations: 3.938 kB / 481.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.003046/0.172, allocations: 1.358 MB / 482.7 MB, free: 2.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1721, allocations: 89.11 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1723, allocations: 258.6 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.1724, allocations: 29.7 kB / 483.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1726, allocations: 259.4 kB / 483.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/0.1726, allocations: 118.3 kB / 483.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.1727, allocations: 12 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1728, allocations: 334.8 kB / 483.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.1731, allocations: 112.8 kB / 483.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.1734, allocations: 227.9 kB / 484.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.1737, allocations: 128.9 kB / 484.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1737, allocations: 0 / 484.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008311/0.1746, allocations: 432.1 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1746, allocations: 4 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1746, allocations: 4 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.1748, allocations: 37.16 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.1752, allocations: 123.9 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.1763, allocations: 1.336 MB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.1766, allocations: 19.98 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.1766, allocations: 20 kB / 486.2 MB, free: 14.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.1768, allocations: 165.7 kB / 486.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.1769, allocations: 35.64 kB / 486.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.177, allocations: 42.17 kB / 486.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.177, allocations: 4 kB / 486.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.177, allocations: 0 / 486.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.177, allocations: 3.984 kB / 486.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.1782, allocations: 0.7193 MB / 487.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1782, allocations: 4 kB / 487.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.1786, allocations: 91.94 kB / 487.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.1787, allocations: 28.84 kB / 487.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.1787, allocations: 12 kB / 487.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.1798, allocations: 1.324 MB / 488.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1798, allocations: 15.98 kB / 488.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.1807, allocations: 0.602 MB / 489.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1809, allocations: 132.7 kB / 489.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.1809, allocations: 11.95 kB / 489.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.1812, allocations: 27.98 kB / 489.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.1813, allocations: 19.97 kB / 489.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1813, allocations: 8 kB / 489.4 MB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001749/0.1815, allocations: 186 kB / 489.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1815, allocations: 0 / 489.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000513/0.182, allocations: 95.94 kB / 489.7 MB, free: 10.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001448/0.1822, allocations: 107.2 kB / 489.8 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000877/0.183, allocations: 411.8 kB / 490.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1831, allocations: 4.062 kB / 490.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.1835, allocations: 254.4 kB / 490.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.184, allocations: 42.58 kB / 490.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1858, allocations: 1.142 MB / 491.7 MB, free: 8.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.1863, allocations: 0.8113 MB / 492.5 MB, free: 7.824 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.1864, allocations: 34.95 kB / 492.5 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.734e-05/0.1865, allocations: 27.44 kB / 492.5 MB, free: 7.766 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1865, allocations: 0 / 492.5 MB, free: 7.766 MB / 366.1 MB Notification: Performance of Templates: time 0.007013/0.1936, allocations: 2.794 MB / 495.3 MB, free: 4.992 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/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