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.001334/0.001334, allocations: 176.4 kB / 17.06 MB, free: 5.094 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.428/1.428, allocations: 223.2 MB / 241 MB, free: 11.88 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.0008345/0.0008347, allocations: 110.3 kB / 292.2 MB, free: 10.89 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.3379/0.3379, allocations: 44.21 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003041, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3196, allocations: 61.89 MB / 0.5096 GB, free: 38.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4315, allocations: 88.94 MB / 0.5964 GB, free: 6.184 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4318, allocations: 75.94 kB / 0.5965 GB, free: 6.113 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007301/0.4391, allocations: 2.93 MB / 0.5993 GB, free: 3.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4391, allocations: 0 / 0.5993 GB, free: 3.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.4391, allocations: 4 kB / 0.5993 GB, free: 3.168 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.0005208/0.4396, allocations: 431 kB / 0.5998 GB, free: 2.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.4397, allocations: 12.03 kB / 0.5998 GB, free: 2.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.4397, allocations: 15.81 kB / 0.5998 GB, free: 2.668 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.4399, allocations: 199.1 kB / 0.6 GB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4399, allocations: 12.28 kB / 0.6 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.44, allocations: 12 kB / 0.6 GB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.4403, allocations: 147.7 kB / 0.6001 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4403, allocations: 0 / 0.6001 GB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.4403, allocations: 8 kB / 0.6001 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4403, allocations: 3.984 kB / 0.6001 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.4406, allocations: 120.8 kB / 0.6003 GB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.4414, allocations: 0.5669 MB / 0.6008 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.4416, allocations: 70.62 kB / 0.6009 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.4416, allocations: 0 / 0.6009 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.4417, allocations: 34.56 kB / 0.6009 GB, free: 1.379 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.4417, allocations: 0 / 0.6009 GB, free: 1.379 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003639/0.442, allocations: 129.6 kB / 0.601 GB, free: 1.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.4421, allocations: 51.41 kB / 0.6011 GB, free: 1.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.4422, allocations: 146.8 kB / 0.6012 GB, free: 1.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.4422, allocations: 25.7 kB / 0.6013 GB, free: 1.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.4423, allocations: 131.5 kB / 0.6014 GB, free: 0.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.4423, allocations: 23.7 kB / 0.6014 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4423, allocations: 0 / 0.6014 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.4424, allocations: 318.8 kB / 0.6017 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4426, allocations: 35.97 kB / 0.6017 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.4427, allocations: 68.27 kB / 0.6018 GB, free: 424 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.4428, allocations: 47.88 kB / 0.6018 GB, free: 376 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4428, allocations: 0 / 0.6018 GB, free: 376 kB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002679/0.4431, allocations: 129.6 kB / 0.602 GB, free: 240 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4431, allocations: 15.94 kB / 0.602 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4431, allocations: 0 / 0.602 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.4431, allocations: 0 / 0.602 GB, free: 224 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4433, allocations: 31.92 kB / 0.602 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4433, allocations: 4 kB / 0.602 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.4434, allocations: 15.92 kB / 0.602 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.4434, allocations: 11.94 kB / 0.602 GB, free: 160 kB / 410.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 8.094e-05/0.4435, allocations: 122.3 kB / 0.6022 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.4435, allocations: 7.906 kB / 0.6022 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.4436, allocations: 20.3 kB / 0.6022 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.4436, allocations: 0 / 0.6022 GB, free: 4 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4436, allocations: 3.938 kB / 0.6022 GB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4436, allocations: 0 / 0.6022 GB, free: 0 / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.4438, allocations: 205.5 kB / 0.6024 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4438, allocations: 3.953 kB / 0.6024 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.4439, allocations: 27.98 kB / 0.6024 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4439, allocations: 7.969 kB / 0.6024 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.4439, allocations: 0 / 0.6024 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4439, allocations: 0 / 0.6024 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4439, allocations: 0 / 0.6024 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.4442, allocations: 195.4 kB / 0.6026 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.948e-05/0.4443, allocations: 89.22 kB / 0.6027 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4443, allocations: 0 / 0.6027 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4444, allocations: 19.98 kB / 0.6027 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.4444, allocations: 0 / 0.6027 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4444, allocations: 4 kB / 0.6027 GB, free: 15.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.212e-05/0.4445, allocations: 113.6 kB / 0.6028 GB, free: 15.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4445, allocations: 4 kB / 0.6028 GB, free: 15.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.4448, allocations: 27.91 kB / 0.6029 GB, free: 15.23 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.000108/0.4449, allocations: 95.25 kB / 0.603 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.4451, allocations: 83.89 kB / 0.603 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4451, allocations: 0 / 0.603 GB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.4452, allocations: 35.97 kB / 0.6031 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.4454, allocations: 4 kB / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.4459, allocations: 333.8 kB / 0.6034 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4461, allocations: 0.7119 MB / 0.6041 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.685e-05/0.4462, allocations: 4.672 kB / 0.6041 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.4462, allocations: 15.42 kB / 0.6041 GB, free: 13.89 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4462, allocations: 0 / 0.6041 GB, free: 13.89 MB / 426.7 MB Notification: Performance of Templates: time 0.00249/0.4487, allocations: 0.6933 MB / 0.6048 GB, free: 13.21 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/jenkins/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