Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 182.3 kB / 16.4 MB, free: 5.723 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.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001134/0.001133, allocations: 96.36 kB / 270.9 MB, free: 8.371 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.5073/0.5073, allocations: 43.56 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004493, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1253, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.5689, allocations: 87.43 MB / 0.5641 GB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5692, allocations: 67.97 kB / 0.5642 GB, free: 15.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.5813, allocations: 2.828 MB / 0.5669 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5813, allocations: 0 / 0.5669 GB, free: 12.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.5814, allocations: 0 / 0.5669 GB, free: 12.45 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.0007614/0.5821, allocations: 427.5 kB / 0.5673 GB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.5822, allocations: 8.031 kB / 0.5673 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.5823, allocations: 15.81 kB / 0.5674 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.5825, allocations: 212 kB / 0.5676 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.5826, allocations: 8.281 kB / 0.5676 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.5826, allocations: 12 kB / 0.5676 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.5831, allocations: 148.5 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5831, allocations: 0 / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.5832, allocations: 4 kB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.5832, allocations: 4 kB / 0.5677 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.5837, allocations: 114.4 kB / 0.5678 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.5849, allocations: 0.5646 MB / 0.5684 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.5853, allocations: 78.45 kB / 0.5685 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.5853, allocations: 0 / 0.5685 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.5854, allocations: 34.59 kB / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.5854, allocations: 0 / 0.5685 GB, free: 10.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006321/0.586, allocations: 130.5 kB / 0.5686 GB, free: 10.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.5861, allocations: 59.36 kB / 0.5687 GB, free: 10.47 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.5862, allocations: 142.2 kB / 0.5688 GB, free: 10.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.5863, allocations: 29.7 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.5864, allocations: 198 kB / 0.569 GB, free: 10.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.5864, allocations: 27.62 kB / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.5865, allocations: 0 / 0.5691 GB, free: 10.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5866, allocations: 314.8 kB / 0.5694 GB, free: 9.758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5868, allocations: 35.97 kB / 0.5694 GB, free: 9.723 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.587, allocations: 68.27 kB / 0.5695 GB, free: 9.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.5872, allocations: 43.92 kB / 0.5695 GB, free: 9.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5872, allocations: 0 / 0.5695 GB, free: 9.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004907/0.5877, allocations: 130.7 kB / 0.5696 GB, free: 9.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5878, allocations: 8 kB / 0.5696 GB, free: 9.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5878, allocations: 4 kB / 0.5696 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5878, allocations: 0 / 0.5696 GB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.5881, allocations: 27.98 kB / 0.5697 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.5881, allocations: 0 / 0.5697 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.5883, allocations: 24.03 kB / 0.5697 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.5884, allocations: 12 kB / 0.5697 GB, free: 9.391 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 () * 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 0.0001288/0.5885, allocations: 129.8 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.5885, allocations: 7.906 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.579e-05/0.5886, allocations: 12.31 kB / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5886, allocations: 4 kB / 0.5698 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5886, allocations: 3.984 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.5886, allocations: 0 / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.5889, allocations: 205.5 kB / 0.57 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.589, allocations: 0 / 0.57 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.5891, allocations: 27.98 kB / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5892, allocations: 0 / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.5892, allocations: 0 / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5892, allocations: 0 / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5892, allocations: 0 / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.5897, allocations: 203.3 kB / 0.5703 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.5897, allocations: 85.02 kB / 0.5703 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.5898, allocations: 0 / 0.5703 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.5899, allocations: 15.98 kB / 0.5704 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.59, allocations: 0 / 0.5704 GB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.59, allocations: 0 / 0.5704 GB, free: 8.621 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.5901, allocations: 111.8 kB / 0.5705 GB, free: 8.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5901, allocations: 4 kB / 0.5705 GB, free: 8.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.5905, allocations: 31.84 kB / 0.5705 GB, free: 8.477 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 () * 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.000138/0.5906, allocations: 100.4 kB / 0.5706 GB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.5911, allocations: 83.25 kB / 0.5707 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5911, allocations: 0 / 0.5707 GB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.5913, allocations: 43.91 kB / 0.5707 GB, free: 8.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5916, allocations: 5.375 kB / 0.5707 GB, free: 8.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.5923, allocations: 357.8 kB / 0.5711 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.5926, allocations: 0.7158 MB / 0.5718 GB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.444e-05/0.5927, allocations: 11.44 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5927, allocations: 0 / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of Templates: time 0.003764/0.5965, allocations: 1.275 MB / 0.573 GB, free: 5.848 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches