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.0009306/0.0009306, allocations: 182.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0007114/0.0007114, allocations: 95.81 kB / 267.1 MB, free: 9.277 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.313/0.313, allocations: 43.47 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.18e-05, allocations: 3.984 kB / 425.3 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 58.85 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3/0.4009, allocations: 87.34 MB / 0.5581 GB, free: 16.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.4011, allocations: 72.27 kB / 0.5582 GB, free: 16.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006435/0.4076, allocations: 2.8 MB / 0.5609 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4076, allocations: 0 / 0.5609 GB, free: 14.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4076, allocations: 4 kB / 0.5609 GB, free: 14.92 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.0003938/0.408, allocations: 409.6 kB / 0.5613 GB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4081, allocations: 16.03 kB / 0.5613 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.4081, allocations: 16.66 kB / 0.5613 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.4083, allocations: 208.3 kB / 0.5615 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4083, allocations: 11.72 kB / 0.5615 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4083, allocations: 12.34 kB / 0.5615 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.4085, allocations: 126.3 kB / 0.5617 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4086, allocations: 0 / 0.5617 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4086, allocations: 3.688 kB / 0.5617 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4086, allocations: 5.375 kB / 0.5617 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4087, allocations: 84.95 kB / 0.5618 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.4094, allocations: 0.5603 MB / 0.5623 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.4095, allocations: 67.08 kB / 0.5624 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.4096, allocations: 16.67 kB / 0.5624 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.4096, allocations: 0 / 0.5624 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.4096, allocations: 34.06 kB / 0.5624 GB, free: 13.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.71e-07/0.4096, allocations: 0 / 0.5624 GB, free: 13.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000145/0.4098, allocations: 63.42 kB / 0.5625 GB, free: 13.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.4098, allocations: 63.3 kB / 0.5625 GB, free: 13.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.461e-05/0.4099, allocations: 132 kB / 0.5627 GB, free: 13.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.4099, allocations: 29.7 kB / 0.5627 GB, free: 13.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.41, allocations: 133.1 kB / 0.5628 GB, free: 13.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.41, allocations: 20.22 kB / 0.5628 GB, free: 13.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.41, allocations: 3.312 kB / 0.5628 GB, free: 13.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.41, allocations: 321.2 kB / 0.5631 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.4101, allocations: 15.31 kB / 0.5632 GB, free: 12.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.4101, allocations: 51.42 kB / 0.5632 GB, free: 12.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.229e-05/0.4102, allocations: 21.44 kB / 0.5632 GB, free: 12.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4102, allocations: 0 / 0.5632 GB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001236/0.4103, allocations: 107.6 kB / 0.5633 GB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.4103, allocations: 8.125 kB / 0.5633 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4103, allocations: 0 / 0.5633 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4104, allocations: 4.75 kB / 0.5633 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4105, allocations: 24.83 kB / 0.5634 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4105, allocations: 7.938 kB / 0.5634 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.987e-05/0.4106, allocations: 17.94 kB / 0.5634 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4106, allocations: 4 kB / 0.5634 GB, free: 12.55 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 4.177e-05/0.4107, allocations: 120 kB / 0.5635 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4107, allocations: 7.906 kB / 0.5635 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.157e-05/0.4107, allocations: 12.75 kB / 0.5635 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4107, allocations: 3.938 kB / 0.5635 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4108, allocations: 0 / 0.5635 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4108, allocations: 1.125 kB / 0.5635 GB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.4109, allocations: 214.6 kB / 0.5637 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4109, allocations: 0 / 0.5637 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.721e-05/0.411, allocations: 15.14 kB / 0.5638 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.411, allocations: 4 kB / 0.5638 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.411, allocations: 7.125 kB / 0.5638 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.411, allocations: 1.406 kB / 0.5638 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.411, allocations: 3.938 kB / 0.5638 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.4111, allocations: 157.6 kB / 0.5639 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.4112, allocations: 87.5 kB / 0.564 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.4112, allocations: 7.484 kB / 0.564 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.4113, allocations: 15.33 kB / 0.564 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.763e-05/0.4113, allocations: 1.5 kB / 0.564 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4113, allocations: 4 kB / 0.564 GB, free: 11.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.622e-05/0.4114, allocations: 112.1 kB / 0.5641 GB, free: 11.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4114, allocations: 0 / 0.5641 GB, free: 11.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.4116, allocations: 31.28 kB / 0.5642 GB, free: 11.78 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 8.194e-05/0.4117, allocations: 98.77 kB / 0.5643 GB, free: 11.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.4118, allocations: 49.44 kB / 0.5643 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4118, allocations: 0 / 0.5643 GB, free: 11.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.899e-05/0.4119, allocations: 21.06 kB / 0.5643 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.412, allocations: 12.56 kB / 0.5643 GB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/0.4123, allocations: 138.7 kB / 0.5645 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.4124, allocations: 0.714 MB / 0.5652 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.4125, allocations: 6.125 kB / 0.5652 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.4125, allocations: 11.44 kB / 0.5652 GB, free: 10.74 MB / 394.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4125, allocations: 0 / 0.5652 GB, free: 10.74 MB / 394.7 MB Notification: Performance of Templates: time 0.002412/0.415, allocations: 0.7106 MB / 0.5659 GB, free: 10.32 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