Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 97.89 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 203.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 45.93 MB / 344 MB, free: 12.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004277, allocations: 8 kB / 417.9 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1671, allocations: 63.46 MB / 481.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002098/0.1692, allocations: 1.56 MB / 482.9 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008493/0.1701, allocations: 0.5537 MB / 483.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.1702, allocations: 4 kB / 483.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1703, allocations: 31.77 kB / 483.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1704, allocations: 31.92 kB / 483.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.1706, allocations: 31.97 kB / 483.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1707, allocations: 87.83 kB / 483.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1709, allocations: 57.83 kB / 483.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.171, allocations: 47.8 kB / 483.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.049e-05/0.1711, allocations: 51.77 kB / 483.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1711, allocations: 8 kB / 483.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.801e-05/0.1712, allocations: 8 kB / 483.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1713, allocations: 19.92 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.1713, allocations: 49.64 kB / 483.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.1715, allocations: 127.8 kB / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1715, allocations: 0 / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1715, allocations: 0 / 484 MB, free: 2.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1715, allocations: 4 kB / 484 MB, free: 2.77 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006073/0.1721, allocations: 419.2 kB / 484.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1722, allocations: 12.02 kB / 484.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.1722, allocations: 15.81 kB / 484.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.1724, allocations: 198.8 kB / 484.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1725, allocations: 16.28 kB / 484.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1725, allocations: 12 kB / 484.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1728, allocations: 148.6 kB / 484.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1728, allocations: 0 / 484.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.1728, allocations: 8 kB / 484.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1729, allocations: 4 kB / 484.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.1731, allocations: 112.8 kB / 485 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.1742, allocations: 0.6224 MB / 485.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.1744, allocations: 74.62 kB / 485.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1745, allocations: 0 / 485.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1745, allocations: 30.56 kB / 485.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1745, allocations: 0 / 485.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003958/0.1749, allocations: 133.6 kB / 485.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.175, allocations: 55.41 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.1751, allocations: 150.9 kB / 486 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1751, allocations: 25.7 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.1752, allocations: 135.5 kB / 486.2 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1753, allocations: 19.75 kB / 486.2 MB, free: 392 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.1753, allocations: 4 kB / 486.2 MB, free: 388 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1754, allocations: 318.8 kB / 486.5 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.1755, allocations: 39.97 kB / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1757, allocations: 60.36 kB / 486.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1758, allocations: 51.83 kB / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1758, allocations: 0 / 486.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000277/0.1761, allocations: 133.5 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1761, allocations: 4 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1761, allocations: 7.984 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1761, allocations: 3.984 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1763, allocations: 36.05 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000121/0.1764, allocations: 3.953 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.1765, allocations: 19.89 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1765, allocations: 4 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.146e-05/0.1766, allocations: 121.8 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.1767, allocations: 7.906 kB / 487 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.1767, allocations: 12.31 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1767, allocations: 7.938 kB / 487 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1767, allocations: 256 / 487 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1767, allocations: 3.953 kB / 487 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.1769, allocations: 213.5 kB / 487.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.177, allocations: 0 / 487.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.177, allocations: 19.98 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1771, allocations: 0 / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1771, allocations: 4 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1771, allocations: 0 / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1771, allocations: 8 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.1774, allocations: 191.4 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1774, allocations: 88.91 kB / 487.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1775, allocations: 8 kB / 487.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.1776, allocations: 8 kB / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.1776, allocations: 7.984 kB / 487.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1776, allocations: 3.938 kB / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.615e-05/0.1777, allocations: 119.4 kB / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1777, allocations: 0 / 487.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1779, allocations: 23.94 kB / 487.7 MB, free: 14.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001011/0.1781, allocations: 95.73 kB / 487.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.1783, allocations: 79.89 kB / 487.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1783, allocations: 3.938 kB / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.1784, allocations: 36.23 kB / 487.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.1786, allocations: 11.92 kB / 487.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004979/0.1791, allocations: 334 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1794, allocations: 0.7079 MB / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.101e-05/0.1795, allocations: 8.672 kB / 489 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.1795, allocations: 11.44 kB / 489 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1795, allocations: 0 / 489 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.002872/0.1824, allocations: 0.6073 MB / 489.6 MB, free: 12.82 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches