Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009494/0.0009495, allocations: 187.7 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.095/1.095, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007872/0.0007872, allocations: 92.19 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1592/0.1592, allocations: 43.5 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.3e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3318, allocations: 86.61 MB / 0.55 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001682/0.332, allocations: 63.97 kB / 0.55 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.007/0.339, allocations: 2.488 MB / 0.5525 GB, free: 9.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.339, allocations: 4 kB / 0.5525 GB, free: 9.793 MB / 394.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.0005503/0.3396, allocations: 418.4 kB / 0.5529 GB, free: 9.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3396, allocations: 12.03 kB / 0.5529 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.3397, allocations: 15.81 kB / 0.5529 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.3399, allocations: 203.5 kB / 0.5531 GB, free: 9.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3399, allocations: 4 kB / 0.5531 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.34, allocations: 8 kB / 0.5531 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001863/0.3401, allocations: 76.41 kB / 0.5532 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3403, allocations: 103.6 kB / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3403, allocations: 0 / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3404, allocations: 0 / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3404, allocations: 7.938 kB / 0.5533 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.341, allocations: 0.5254 MB / 0.5538 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.3412, allocations: 58.59 kB / 0.5538 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.3413, allocations: 16.98 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3413, allocations: 7.969 kB / 0.5539 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3413, allocations: 30.56 kB / 0.5539 GB, free: 8.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3413, allocations: 0 / 0.5539 GB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001548/0.3415, allocations: 65.58 kB / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.3415, allocations: 51.41 kB / 0.554 GB, free: 8.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.956e-05/0.3416, allocations: 128.6 kB / 0.5541 GB, free: 7.895 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3416, allocations: 29.7 kB / 0.5542 GB, free: 7.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.3417, allocations: 131.4 kB / 0.5543 GB, free: 7.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.3417, allocations: 15.75 kB / 0.5543 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3417, allocations: 0 / 0.5543 GB, free: 7.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.3418, allocations: 322.8 kB / 0.5546 GB, free: 7.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.3419, allocations: 16 kB / 0.5546 GB, free: 7.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.3419, allocations: 48.3 kB / 0.5547 GB, free: 7.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.342, allocations: 19.98 kB / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.342, allocations: 0 / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001312/0.3421, allocations: 89.47 kB / 0.5548 GB, free: 7.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3421, allocations: 4 kB / 0.5548 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3421, allocations: 4.125 kB / 0.5548 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.3421, allocations: 4 kB / 0.5548 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.3423, allocations: 31.97 kB / 0.5548 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3423, allocations: 0 / 0.5548 GB, free: 7.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-05/0.3424, allocations: 11.91 kB / 0.5548 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3424, allocations: 19.92 kB / 0.5548 GB, free: 7.121 MB / 394.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 () * 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 6.533e-05/0.3425, allocations: 118.2 kB / 0.5549 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.3425, allocations: 3.906 kB / 0.555 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.3426, allocations: 12.19 kB / 0.555 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3426, allocations: 0 / 0.555 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3426, allocations: 3.938 kB / 0.555 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3426, allocations: 0 / 0.555 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.3427, allocations: 174.1 kB / 0.5551 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3427, allocations: 0 / 0.5551 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.3429, allocations: 27.98 kB / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3429, allocations: 0 / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.3429, allocations: 0 / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3429, allocations: 0 / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3429, allocations: 4 kB / 0.5552 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/0.343, allocations: 163.5 kB / 0.5553 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.302e-05/0.343, allocations: 81.02 kB / 0.5554 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3431, allocations: 7.891 kB / 0.5554 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3432, allocations: 8 kB / 0.5554 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.3432, allocations: 11.98 kB / 0.5554 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3432, allocations: 0 / 0.5554 GB, free: 6.434 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.387e-05/0.3433, allocations: 99.28 kB / 0.5555 GB, free: 6.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.3435, allocations: 27.84 kB / 0.5555 GB, free: 6.309 MB / 394.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 () * 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.0001028/0.3436, allocations: 99.23 kB / 0.5556 GB, free: 6.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3437, allocations: 43.94 kB / 0.5557 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.3437, allocations: 0 / 0.5557 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.913e-05/0.3438, allocations: 12 kB / 0.5557 GB, free: 6.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.344, allocations: 8.25 kB / 0.5557 GB, free: 6.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.3443, allocations: 143.4 kB / 0.5558 GB, free: 5.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.3446, allocations: 0.7231 MB / 0.5565 GB, free: 5.227 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3446, allocations: 0 / 0.5565 GB, free: 5.227 MB / 394.7 MB Notification: Performance of Templates: time 0.002572/0.3472, allocations: 0.7688 MB / 0.5573 GB, free: 4.461 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches