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.00124/0.00124, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001108/0.001108, allocations: 194 kB / 18.12 MB, free: 5.363 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.541/1.541, allocations: 222.9 MB / 241.8 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2401/0.2401, allocations: 44.18 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.56 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003564/0.1524, allocations: 1.967 MB / 470.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.1533, allocations: 0.5533 MB / 471 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.1534, allocations: 7.938 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.1536, allocations: 27.83 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1538, allocations: 23.83 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.1539, allocations: 35.91 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1541, allocations: 147.4 kB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1543, allocations: 57.77 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1544, allocations: 51.84 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.1545, allocations: 59.7 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.1545, allocations: 8 kB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.31e-05/0.1546, allocations: 12 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.605e-05/0.1546, allocations: 31.84 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.329e-05/0.1547, allocations: 63.67 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1549, allocations: 155.7 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.1549, allocations: 0 / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1549, allocations: 3.938 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1549, allocations: 4 kB / 471.7 MB, free: 11.63 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.0007134/0.1556, allocations: 439.3 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1557, allocations: 8.031 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.1557, allocations: 16.75 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.156, allocations: 204.1 kB / 472.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.156, allocations: 20.64 kB / 472.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.156, allocations: 16.38 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.1564, allocations: 140.1 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1564, allocations: 0 / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.1564, allocations: 4 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1564, allocations: 4 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.1567, allocations: 104.7 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1577, allocations: 0.6066 MB / 473.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.158, allocations: 70.58 kB / 473.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1581, allocations: 33 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1582, allocations: 0 / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.1582, allocations: 38.48 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1582, allocations: 0 / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004483/0.1587, allocations: 113.5 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1587, allocations: 55.41 kB / 473.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1589, allocations: 149.7 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1589, allocations: 25.7 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.159, allocations: 143.4 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.159, allocations: 23.73 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.1591, allocations: 21.72 kB / 473.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1592, allocations: 318.8 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.1593, allocations: 35.92 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1595, allocations: 64.2 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1597, allocations: 96.19 kB / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1597, allocations: 0 / 474.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002614/0.16, allocations: 125.5 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.16, allocations: 10.5 kB / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.16, allocations: 128 / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.16, allocations: 8 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.1602, allocations: 31.86 kB / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1602, allocations: 0 / 474.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1603, allocations: 15.89 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.1603, allocations: 8 kB / 474.6 MB, free: 8.461 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.929e-05/0.1604, allocations: 117.8 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1605, allocations: 11.84 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.1605, allocations: 20.31 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1605, allocations: 3.938 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1605, allocations: 256 / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.1605, allocations: 3.984 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1607, allocations: 201.6 kB / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1607, allocations: 0 / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.1608, allocations: 19.98 kB / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1608, allocations: 0 / 475 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1609, allocations: 4 kB / 475 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1609, allocations: 3.938 kB / 475 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1609, allocations: 0 / 475 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1611, allocations: 187.4 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.1612, allocations: 81.02 kB / 475.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1612, allocations: 3.938 kB / 475.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1613, allocations: 15.92 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1614, allocations: 7.938 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1614, allocations: 4 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.606e-05/0.1615, allocations: 112.6 kB / 475.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1615, allocations: 3.938 kB / 475.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1617, allocations: 31.84 kB / 475.4 MB, free: 7.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.564e-05/0.1618, allocations: 91.78 kB / 475.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1621, allocations: 68.08 kB / 475.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1621, allocations: 4.062 kB / 475.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.1622, allocations: 31.97 kB / 475.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1626, allocations: 4 kB / 475.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/0.1633, allocations: 315.6 kB / 475.9 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1636, allocations: 0.7118 MB / 476.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.794e-05/0.1637, allocations: 4.672 kB / 476.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1637, allocations: 11.44 kB / 476.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1637, allocations: 0 / 476.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of Templates: time 0.003101/0.1668, allocations: 0.6313 MB / 477.3 MB, free: 5.629 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