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.001581/0.001582, 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.002044/0.002044, 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.489/1.489, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2892/0.2892, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 78.53 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1613, allocations: 62.45 MB / 480 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.004167/0.1655, allocations: 1.922 MB / 481.9 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009659/0.1665, allocations: 0.5999 MB / 482.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.1666, allocations: 0 / 482.5 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001805/0.1668, allocations: 35.72 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1669, allocations: 39.7 kB / 482.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.1671, allocations: 43.89 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1673, allocations: 151.4 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1675, allocations: 61.52 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1676, allocations: 51.84 kB / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1677, allocations: 63.7 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.1678, allocations: 16 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.1678, allocations: 12 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.1678, allocations: 35.84 kB / 483 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.1679, allocations: 75.66 kB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1681, allocations: 151.7 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1682, allocations: 0 / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1682, allocations: 4 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1682, allocations: 0 / 483.3 MB, free: 1.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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007289/0.1689, allocations: 443.3 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.169, allocations: 8.031 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.169, allocations: 20.75 kB / 483.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1692, allocations: 203.7 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.1692, allocations: 12.66 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.1693, allocations: 16.31 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.1696, allocations: 152.9 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1696, allocations: 0 / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.1696, allocations: 4 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1697, allocations: 4 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.1699, allocations: 104.8 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.171, allocations: 0.6104 MB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.1713, allocations: 70.56 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1714, allocations: 33.02 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1714, allocations: 3.938 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1714, allocations: 34.55 kB / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1714, allocations: 0 / 485 MB, free: 116 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004156/0.1719, allocations: 121.5 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.1719, allocations: 51.41 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1721, allocations: 149.8 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1721, allocations: 25.7 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.1722, allocations: 135.5 kB / 485.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.1722, allocations: 27.72 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1723, allocations: 29.62 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1724, allocations: 318.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1725, allocations: 27.98 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1726, allocations: 64.2 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.1729, allocations: 108.1 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1729, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002868/0.1732, allocations: 129.5 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1732, allocations: 4 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1732, allocations: 0 / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1732, allocations: 4 kB / 486.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.1734, allocations: 31.86 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.1734, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.1735, allocations: 15.92 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.1735, allocations: 4 kB / 486.2 MB, free: 14.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.445e-05/0.1736, allocations: 121.9 kB / 486.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1736, allocations: 7.906 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1737, allocations: 16.3 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1737, allocations: 3.938 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1737, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1737, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.1739, allocations: 213.5 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.174, allocations: 0 / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.1741, allocations: 19.92 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1741, allocations: 4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1741, allocations: 7.938 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.1741, allocations: 7.922 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1741, allocations: 0 / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1744, allocations: 179.7 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.1744, allocations: 85.02 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1745, allocations: 4.062 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1746, allocations: 19.92 kB / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1746, allocations: 0 / 486.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1746, allocations: 4 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.244e-05/0.1747, allocations: 114.8 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1747, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000244/0.175, allocations: 27.84 kB / 487 MB, free: 13.89 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001006/0.1751, allocations: 95.19 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.1754, allocations: 79.89 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1754, allocations: 0 / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.1755, allocations: 27.97 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1758, allocations: 10.5 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000544/0.1764, allocations: 268 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1767, allocations: 0.708 MB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.1768, allocations: 4.672 kB / 488.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.1768, allocations: 15.42 kB / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1768, allocations: 0 / 488.2 MB, free: 12.63 MB / 366.1 MB Notification: Performance of Templates: time 0.003141/0.18, allocations: 0.706 MB / 488.9 MB, free: 11.93 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches