Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007809/0.0007809, allocations: 99.66 kB / 17 MB, free: 6.098 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.0007858/0.0007859, allocations: 182.7 kB / 17.89 MB, free: 5.68 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.62/1.62, allocations: 223.3 MB / 241.9 MB, free: 252 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.2349/0.2349, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 13.5 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002437/0.151, allocations: 1.57 MB / 473.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1522, allocations: 0.5185 MB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1524, allocations: 4 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.1526, allocations: 19.86 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1529, allocations: 31.77 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1531, allocations: 31.95 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.1534, allocations: 143.5 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1536, allocations: 37.81 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.1538, allocations: 47.78 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.154, allocations: 55.75 kB / 474.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.154, allocations: 8 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.262e-05/0.1541, allocations: 8 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.1541, allocations: 27.92 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.1542, allocations: 49.52 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1544, allocations: 123.9 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1544, allocations: 0 / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1544, allocations: 0 / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1544, allocations: 0 / 474.3 MB, free: 11 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.0007941/0.1552, allocations: 427.2 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1553, allocations: 12.03 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.38e-05/0.1553, allocations: 19.81 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1556, allocations: 194.9 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1556, allocations: 8.281 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.1557, allocations: 15.95 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003748/0.1561, allocations: 143.8 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1561, allocations: 7.984 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.1561, allocations: 8 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1561, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.1564, allocations: 108.8 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1575, allocations: 0.6225 MB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.1578, allocations: 70.58 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.1579, allocations: 40.94 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.1579, allocations: 8 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.1579, allocations: 34.5 kB / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.158, allocations: 0 / 476 MB, free: 9.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004368/0.1584, allocations: 129.5 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1585, allocations: 51.41 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1586, allocations: 150.3 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1586, allocations: 25.7 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.473e-05/0.1587, allocations: 135.4 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1588, allocations: 23.72 kB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.1588, allocations: 4 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1589, allocations: 326.8 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1591, allocations: 35.92 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.1592, allocations: 64.27 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1593, allocations: 39.98 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1594, allocations: 0 / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000312/0.1597, allocations: 137.4 kB / 477.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1597, allocations: 8 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1597, allocations: 0 / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1597, allocations: 0 / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1599, allocations: 27.98 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.1599, allocations: 4.125 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.821e-05/0.16, allocations: 23.89 kB / 477.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.16, allocations: 4 kB / 477.1 MB, free: 7.883 MB / 350.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 0.000113/0.1601, allocations: 134.1 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1602, allocations: 7.906 kB / 477.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.1602, allocations: 16.3 kB / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1602, allocations: 0 / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1602, allocations: 0 / 477.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1602, allocations: 7.984 kB / 477.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1605, allocations: 209.8 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1605, allocations: 4 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.915e-05/0.1606, allocations: 23.92 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1606, allocations: 0 / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1606, allocations: 0 / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1606, allocations: 0 / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.1606, allocations: 4 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1609, allocations: 199.3 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.161, allocations: 85.02 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.161, allocations: 0 / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.1611, allocations: 15.98 kB / 477.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1611, allocations: 4 kB / 477.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1612, allocations: 3.984 kB / 477.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.832e-05/0.1612, allocations: 109.3 kB / 477.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1612, allocations: 0 / 477.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.1615, allocations: 27.84 kB / 478 MB, free: 6.961 MB / 350.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.0001029/0.1616, allocations: 91.25 kB / 478.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1619, allocations: 87.89 kB / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1619, allocations: 0 / 478.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.674e-05/0.162, allocations: 35.91 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.1623, allocations: 16.2 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.1629, allocations: 325.7 kB / 478.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1633, allocations: 0.7002 MB / 479.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.333e-05/0.1633, allocations: 8.656 kB / 479.2 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1634, allocations: 15.44 kB / 479.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1634, allocations: 0 / 479.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of Templates: time 0.003128/0.1665, allocations: 0.6192 MB / 479.8 MB, free: 5.016 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches