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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.5/1.5, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007317/0.0007316, allocations: 82.31 kB / 261.7 MB, free: 1.688 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.1977/0.1977, allocations: 43.48 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.465e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09742, allocations: 58.84 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3363/0.4338, allocations: 86.68 MB / 0.5506 GB, free: 8.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4341, allocations: 69.38 kB / 0.5506 GB, free: 8.289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006218/0.4403, allocations: 2.792 MB / 0.5534 GB, free: 6.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4403, allocations: 0 / 0.5534 GB, free: 6.039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4403, allocations: 3.938 kB / 0.5534 GB, free: 6.035 MB / 362.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.0004238/0.4408, allocations: 424.1 kB / 0.5538 GB, free: 5.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4408, allocations: 8.031 kB / 0.5538 GB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.4409, allocations: 11.91 kB / 0.5538 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.441, allocations: 205.9 kB / 0.554 GB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.441, allocations: 4 kB / 0.554 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.4411, allocations: 15.98 kB / 0.554 GB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001494/0.4412, allocations: 65.5 kB / 0.5541 GB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4414, allocations: 102 kB / 0.5542 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4414, allocations: 4 kB / 0.5542 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.4414, allocations: 3.938 kB / 0.5542 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4414, allocations: 0 / 0.5542 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.4421, allocations: 0.5236 MB / 0.5547 GB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.4422, allocations: 53.2 kB / 0.5547 GB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.4423, allocations: 19.48 kB / 0.5547 GB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.4423, allocations: 0 / 0.5547 GB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.4423, allocations: 34.56 kB / 0.5548 GB, free: 4.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.4423, allocations: 3.938 kB / 0.5548 GB, free: 4.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001497/0.4425, allocations: 60.59 kB / 0.5548 GB, free: 4.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.53e-05/0.4425, allocations: 51.41 kB / 0.5549 GB, free: 4.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.734e-05/0.4426, allocations: 126.7 kB / 0.555 GB, free: 4.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.4426, allocations: 29.69 kB / 0.555 GB, free: 4.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.4426, allocations: 133.1 kB / 0.5552 GB, free: 4.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.4426, allocations: 23.67 kB / 0.5552 GB, free: 4.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.4427, allocations: 4 kB / 0.5552 GB, free: 4.141 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.4427, allocations: 318.5 kB / 0.5555 GB, free: 3.824 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.814e-05/0.4427, allocations: 14.88 kB / 0.5555 GB, free: 3.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.4428, allocations: 47.41 kB / 0.5556 GB, free: 3.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.4428, allocations: 26.81 kB / 0.5556 GB, free: 3.746 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4428, allocations: 4 kB / 0.5556 GB, free: 3.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001113/0.4429, allocations: 88.02 kB / 0.5557 GB, free: 3.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.443, allocations: 4 kB / 0.5557 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.443, allocations: 0 / 0.5557 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.443, allocations: 4 kB / 0.5557 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4431, allocations: 27.98 kB / 0.5557 GB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4431, allocations: 8.062 kB / 0.5557 GB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.713e-05/0.4432, allocations: 15.94 kB / 0.5557 GB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.4433, allocations: 8.062 kB / 0.5557 GB, free: 3.594 MB / 362.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 5.326e-05/0.4433, allocations: 111.1 kB / 0.5558 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.467e-05/0.4433, allocations: 7.906 kB / 0.5558 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.4434, allocations: 11.66 kB / 0.5559 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4434, allocations: 3.938 kB / 0.5559 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4434, allocations: 7.922 kB / 0.5559 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4434, allocations: 4 kB / 0.5559 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.4436, allocations: 176.5 kB / 0.556 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4436, allocations: 0 / 0.556 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-05/0.4437, allocations: 19.98 kB / 0.5561 GB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4437, allocations: 3.984 kB / 0.5561 GB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.4437, allocations: 0 / 0.5561 GB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.4437, allocations: 0 / 0.5561 GB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4437, allocations: 0 / 0.5561 GB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.632e-05/0.4438, allocations: 166.2 kB / 0.5562 GB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.4438, allocations: 85.02 kB / 0.5563 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.4439, allocations: 0 / 0.5563 GB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.444, allocations: 11.98 kB / 0.5563 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.444, allocations: 0 / 0.5563 GB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.444, allocations: 0 / 0.5563 GB, free: 2.953 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.181e-05/0.444, allocations: 106.6 kB / 0.5564 GB, free: 2.859 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.444, allocations: 0 / 0.5564 GB, free: 2.859 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.4443, allocations: 27.94 kB / 0.5564 GB, free: 2.832 MB / 362.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 8.279e-05/0.4444, allocations: 94.92 kB / 0.5565 GB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.4445, allocations: 43.69 kB / 0.5566 GB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4445, allocations: 0 / 0.5566 GB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.4445, allocations: 18.88 kB / 0.5566 GB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.4447, allocations: 16 kB / 0.5566 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002912/0.445, allocations: 132.4 kB / 0.5567 GB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.4452, allocations: 0.708 MB / 0.5574 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.4452, allocations: 11.98 kB / 0.5574 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.4453, allocations: 15.38 kB / 0.5574 GB, free: 1.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4453, allocations: 0 / 0.5574 GB, free: 1.77 MB / 362.7 MB Notification: Performance of Templates: time 0.002287/0.4476, allocations: 0.595 MB / 0.558 GB, free: 1.191 MB / 362.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