Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009381/0.0009382, allocations: 98.45 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 45.91 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003058, allocations: 12 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 63.46 MB / 481.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004086/0.1467, allocations: 2.831 MB / 484.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.1489, allocations: 0.8146 MB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.1493, allocations: 15.94 kB / 485 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.1494, allocations: 47.55 kB / 485.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.1499, allocations: 147.6 kB / 485.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.1503, allocations: 91.83 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.1508, allocations: 351.8 kB / 485.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004773/0.1513, allocations: 178.7 kB / 485.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.1516, allocations: 171.4 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.1519, allocations: 195.1 kB / 486.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.152, allocations: 28 kB / 486.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.1521, allocations: 24 kB / 486.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.1521, allocations: 79.67 kB / 486.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.1523, allocations: 109.5 kB / 486.4 MB, free: 380 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.1527, allocations: 423 kB / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.1528, allocations: 0 / 486.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1528, allocations: 3.938 kB / 486.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1528, allocations: 0 / 486.9 MB, free: 15.95 MB / 366.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.001281/0.1541, allocations: 0.6978 MB / 487.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1541, allocations: 12.03 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.916e-05/0.1543, allocations: 47.44 kB / 487.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004148/0.1547, allocations: 312.2 kB / 487.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.1547, allocations: 33 kB / 487.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.054e-05/0.1548, allocations: 44 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.1557, allocations: 474.9 kB / 488.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1557, allocations: 3.938 kB / 488.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.1557, allocations: 20 kB / 488.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1558, allocations: 12 kB / 488.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.1565, allocations: 327.8 kB / 488.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.1591, allocations: 1.697 MB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.1596, allocations: 241 kB / 490.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1597, allocations: 0 / 490.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.1597, allocations: 42.56 kB / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.542e-06/0.1597, allocations: 0 / 490.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.003044/0.1628, allocations: 1.337 MB / 492.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.1628, allocations: 85.11 kB / 492.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.1632, allocations: 258.6 kB / 492.5 MB, free: 9.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.1632, allocations: 33.7 kB / 492.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1634, allocations: 251.4 kB / 492.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1635, allocations: 126.3 kB / 492.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.1635, allocations: 4 kB / 492.9 MB, free: 9.531 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1637, allocations: 338.8 kB / 493.2 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002599/0.1639, allocations: 108.8 kB / 493.3 MB, free: 9.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.1643, allocations: 216.3 kB / 493.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.1646, allocations: 138 kB / 493.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1646, allocations: 0 / 493.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007798/0.1654, allocations: 424.4 kB / 494.1 MB, free: 8.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1654, allocations: 6.031 kB / 494.1 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1654, allocations: 4 kB / 494.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.1656, allocations: 33.16 kB / 494.1 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.166, allocations: 123.9 kB / 494.2 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.1671, allocations: 1.332 MB / 495.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.1674, allocations: 19.98 kB / 495.6 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.1674, allocations: 19.94 kB / 495.6 MB, free: 6.609 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 (50): * Single equations (assignments): 49 * 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.0002113/0.1676, allocations: 170.2 kB / 495.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.1677, allocations: 23.72 kB / 495.8 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.1678, allocations: 42.17 kB / 495.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1678, allocations: 8.062 kB / 495.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1678, allocations: 0 / 495.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1678, allocations: 0 / 495.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.1684, allocations: 425.2 kB / 496.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1684, allocations: 0 / 496.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.1688, allocations: 99.86 kB / 496.3 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.523e-05/0.1689, allocations: 28.78 kB / 496.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1689, allocations: 4 kB / 496.4 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009041/0.1698, allocations: 1.328 MB / 497.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1698, allocations: 0 / 497.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/0.1708, allocations: 0.6213 MB / 498.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1709, allocations: 121.1 kB / 498.4 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.171, allocations: 8 kB / 498.5 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.1713, allocations: 27.94 kB / 498.5 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.1713, allocations: 15.97 kB / 498.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1714, allocations: 15.98 kB / 498.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.1715, allocations: 186 kB / 498.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1715, allocations: 0 / 498.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.172, allocations: 88 kB / 498.8 MB, free: 3.188 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * 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 (31): * Single equations (assignments): 30 * 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.0001412/0.1721, allocations: 111.2 kB / 498.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008059/0.173, allocations: 410.3 kB / 499.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.173, allocations: 0 / 499.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.1734, allocations: 261.7 kB / 499.5 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1737, allocations: 32.55 kB / 499.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.1755, allocations: 1.107 MB / 0.4889 GB, free: 1.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.1759, allocations: 0.823 MB / 0.4897 GB, free: 364 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.1761, allocations: 34.95 kB / 0.4898 GB, free: 332 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.7e-05/0.1762, allocations: 23.44 kB / 0.4898 GB, free: 312 kB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1762, allocations: 4 kB / 0.4898 GB, free: 308 kB / 366.1 MB Notification: Performance of Templates: time 0.006959/0.1831, allocations: 2.775 MB / 0.4925 GB, free: 13.55 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches