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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 182.7 kB / 18.09 MB, free: 3.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 242.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008745/0.0008744, allocations: 105 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3249/0.3249, allocations: 44.15 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004323, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4208, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.5461, allocations: 88.93 MB / 0.5976 GB, free: 6.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/0.5466, allocations: 79.95 kB / 0.5976 GB, free: 6.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008917/0.5555, allocations: 2.934 MB / 0.6005 GB, free: 3.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5556, allocations: 0 / 0.6005 GB, free: 3.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.5556, allocations: 4 kB / 0.6005 GB, free: 3.105 MB / 410.7 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.0006254/0.5562, allocations: 427.3 kB / 0.6009 GB, free: 2.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.5563, allocations: 15.97 kB / 0.6009 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.5563, allocations: 16.75 kB / 0.601 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.5566, allocations: 196.4 kB / 0.6011 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.5566, allocations: 16.66 kB / 0.6012 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.5567, allocations: 16.36 kB / 0.6012 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.557, allocations: 144.4 kB / 0.6013 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.557, allocations: 4.172 kB / 0.6013 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.5571, allocations: 7.938 kB / 0.6013 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5571, allocations: 4 kB / 0.6013 GB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.5574, allocations: 112.8 kB / 0.6014 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009421/0.5583, allocations: 0.5627 MB / 0.602 GB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.5586, allocations: 86.48 kB / 0.6021 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5587, allocations: 32.97 kB / 0.6021 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.5587, allocations: 0 / 0.6021 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.5588, allocations: 34.56 kB / 0.6021 GB, free: 1.273 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.5588, allocations: 0 / 0.6021 GB, free: 1.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000394/0.5592, allocations: 125.5 kB / 0.6023 GB, free: 1.145 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.5592, allocations: 51.41 kB / 0.6023 GB, free: 1.082 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.5594, allocations: 159.9 kB / 0.6025 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.5594, allocations: 25.7 kB / 0.6025 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.5595, allocations: 139.5 kB / 0.6026 GB, free: 0.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.5596, allocations: 23.8 kB / 0.6026 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.5596, allocations: 0 / 0.6026 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.5597, allocations: 318.8 kB / 0.6029 GB, free: 416 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.5598, allocations: 31.98 kB / 0.603 GB, free: 384 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.5599, allocations: 72.27 kB / 0.603 GB, free: 296 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.5602, allocations: 104.2 kB / 0.6031 GB, free: 176 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5602, allocations: 0 / 0.6031 GB, free: 176 kB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002887/0.5605, allocations: 137.5 kB / 0.6033 GB, free: 32 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5605, allocations: 8 kB / 0.6033 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5605, allocations: 3.938 kB / 0.6033 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5605, allocations: 4 kB / 0.6033 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.5607, allocations: 28.03 kB / 0.6033 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5607, allocations: 7.938 kB / 0.6033 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.5608, allocations: 23.78 kB / 0.6033 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.5608, allocations: 4 kB / 0.6033 GB, free: 15.95 MB / 426.7 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.641e-05/0.5609, allocations: 121.8 kB / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.561, allocations: 7.906 kB / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.561, allocations: 16.3 kB / 0.6035 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.561, allocations: 3.984 kB / 0.6035 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.561, allocations: 3.938 kB / 0.6035 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.561, allocations: 0 / 0.6035 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.5613, allocations: 201.6 kB / 0.6037 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5613, allocations: 4.25 kB / 0.6037 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.798e-05/0.5614, allocations: 23.98 kB / 0.6037 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.5614, allocations: 0 / 0.6037 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.5614, allocations: 3.984 kB / 0.6037 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5614, allocations: 0 / 0.6037 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5614, allocations: 3.938 kB / 0.6037 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.5618, allocations: 203.4 kB / 0.6039 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.838e-05/0.5618, allocations: 84.95 kB / 0.604 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.5618, allocations: 0 / 0.604 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.263e-05/0.5619, allocations: 11.98 kB / 0.604 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.562, allocations: 7.875 kB / 0.604 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.562, allocations: 8 kB / 0.604 GB, free: 15.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.26e-05/0.5621, allocations: 113.1 kB / 0.6041 GB, free: 15.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5621, allocations: 0 / 0.6041 GB, free: 15.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002407/0.5623, allocations: 23.91 kB / 0.6042 GB, free: 15.04 MB / 426.7 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.0001356/0.5625, allocations: 103.8 kB / 0.6042 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.5628, allocations: 83.89 kB / 0.6043 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5628, allocations: 0 / 0.6043 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/0.5629, allocations: 35.91 kB / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.5632, allocations: 12.25 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.5638, allocations: 333.5 kB / 0.6047 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.5641, allocations: 0.7002 MB / 0.6054 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.5642, allocations: 8.656 kB / 0.6054 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.5642, allocations: 15.44 kB / 0.6054 GB, free: 13.69 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5642, allocations: 0 / 0.6054 GB, free: 13.69 MB / 426.7 MB Notification: Performance of Templates: time 0.003238/0.5675, allocations: 0.6877 MB / 0.6061 GB, free: 13 MB / 426.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches