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.002142/0.002141, allocations: 182.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001204/0.001203, allocations: 89.55 kB / 270.9 MB, free: 8.363 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.5202/0.5202, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004759/0.0004761, allocations: 16 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1279, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002772/0.1307, allocations: 1.512 MB / 491.7 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1322, allocations: 0.5583 MB / 492.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1324, allocations: 4 kB / 492.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.1326, allocations: 27.84 kB / 492.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.1327, allocations: 31.92 kB / 492.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1329, allocations: 27.97 kB / 492.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1332, allocations: 99.75 kB / 492.5 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.1334, allocations: 49.77 kB / 492.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1336, allocations: 51.78 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1337, allocations: 51.77 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1337, allocations: 8 kB / 492.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.373e-05/0.1338, allocations: 12 kB / 492.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.1338, allocations: 27.86 kB / 492.7 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.1339, allocations: 45.64 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1341, allocations: 119.9 kB / 492.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1341, allocations: 3.938 kB / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1341, allocations: 0 / 492.8 MB, free: 8.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1341, allocations: 0 / 492.8 MB, free: 8.348 MB / 378.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.000845/0.135, allocations: 431.2 kB / 493.3 MB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.135, allocations: 8.031 kB / 493.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.1351, allocations: 19.77 kB / 493.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1354, allocations: 202.8 kB / 493.5 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.1354, allocations: 12.28 kB / 493.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.1355, allocations: 16 kB / 493.5 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.136, allocations: 143.8 kB / 493.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.136, allocations: 0 / 493.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.136, allocations: 4 kB / 493.7 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.136, allocations: 7.953 kB / 493.7 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.1365, allocations: 120.1 kB / 493.8 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.138, allocations: 0.6067 MB / 494.4 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1385, allocations: 78.52 kB / 494.5 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.1385, allocations: 3.953 kB / 494.5 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1385, allocations: 34.59 kB / 494.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.386e-06/0.1386, allocations: 4 kB / 494.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006285/0.1392, allocations: 121.7 kB / 494.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.1393, allocations: 55.41 kB / 494.7 MB, free: 6.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.1395, allocations: 146.3 kB / 494.8 MB, free: 6.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1395, allocations: 29.7 kB / 494.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1396, allocations: 201.9 kB / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1397, allocations: 15.75 kB / 495.1 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-06/0.1397, allocations: 7.938 kB / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1398, allocations: 314.8 kB / 495.4 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.14, allocations: 39.92 kB / 495.4 MB, free: 5.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.1403, allocations: 64.27 kB / 495.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1405, allocations: 39.98 kB / 495.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.1405, allocations: 0 / 495.5 MB, free: 5.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000492/0.141, allocations: 137.5 kB / 495.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.141, allocations: 11.95 kB / 495.7 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1411, allocations: 0 / 495.7 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.1411, allocations: 4 kB / 495.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.1413, allocations: 23.98 kB / 495.7 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.1414, allocations: 7.984 kB / 495.7 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1415, allocations: 11.91 kB / 495.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.1416, allocations: 12.03 kB / 495.7 MB, free: 5.215 MB / 378.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.0001344/0.1417, allocations: 125.7 kB / 495.8 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.1418, allocations: 11.89 kB / 495.9 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.1418, allocations: 16.27 kB / 495.9 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1418, allocations: 3.938 kB / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1418, allocations: 0 / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1419, allocations: 0 / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.1422, allocations: 209.6 kB / 496.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1422, allocations: 0 / 496.1 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.1424, allocations: 24.23 kB / 496.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1424, allocations: 0 / 496.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.1424, allocations: 8 kB / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.1425, allocations: 7.953 kB / 496.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1425, allocations: 0 / 496.1 MB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.1429, allocations: 195.4 kB / 496.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.143, allocations: 81.02 kB / 496.4 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.143, allocations: 4 kB / 496.4 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1432, allocations: 15.92 kB / 496.4 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1433, allocations: 11.94 kB / 496.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.1433, allocations: 0 / 496.4 MB, free: 4.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1434, allocations: 107.8 kB / 496.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1434, allocations: 0 / 496.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.1438, allocations: 31.84 kB / 496.6 MB, free: 4.285 MB / 378.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.0001071/0.1439, allocations: 91.25 kB / 496.6 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.1444, allocations: 87.94 kB / 496.7 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1444, allocations: 0 / 496.7 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.1446, allocations: 35.92 kB / 496.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1449, allocations: 4 kB / 496.8 MB, free: 4.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.1457, allocations: 351.6 kB / 497.1 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.146, allocations: 0.7119 MB / 497.8 MB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.1461, allocations: 11.44 kB / 497.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1461, allocations: 0 / 497.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of Templates: time 0.003819/0.1499, allocations: 1.221 MB / 499.1 MB, free: 1.715 MB / 378.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