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.001112/0.001112, allocations: 175 kB / 16.72 MB, free: 5.082 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.47/1.47, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0006995/0.0006995, allocations: 82.36 kB / 271.2 MB, free: 8.254 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.3304/0.3304, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 12 kB / 432 MB, free: 5.594 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002037/0.1324, allocations: 1.551 MB / 492.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.1333, allocations: 0.5543 MB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.1333, allocations: 4 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1335, allocations: 23.86 kB / 493 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1336, allocations: 27.77 kB / 493 MB, free: 8.48 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.1338, allocations: 27.97 kB / 493 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1339, allocations: 151.5 kB / 493.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1341, allocations: 49.78 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1342, allocations: 55.77 kB / 493.3 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.1343, allocations: 51.77 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.1344, allocations: 4 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.1344, allocations: 12 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.1344, allocations: 23.86 kB / 493.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.1345, allocations: 85.38 kB / 493.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1346, allocations: 119.9 kB / 493.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1346, allocations: 0 / 493.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1346, allocations: 0 / 493.5 MB, free: 7.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1347, allocations: 0 / 493.5 MB, free: 7.895 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.0005506/0.1352, allocations: 423.4 kB / 494 MB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1353, allocations: 12.03 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.475e-05/0.1353, allocations: 16.75 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1355, allocations: 204.1 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1356, allocations: 8.656 kB / 494.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.1356, allocations: 20.36 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1359, allocations: 148.1 kB / 494.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.1359, allocations: 0 / 494.4 MB, free: 6.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.1359, allocations: 8 kB / 494.4 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.136, allocations: 4 kB / 494.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.1362, allocations: 116.1 kB / 494.5 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.1372, allocations: 0.6143 MB / 495.1 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.1374, allocations: 70.52 kB / 495.2 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.1375, allocations: 44.94 kB / 495.2 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.1376, allocations: 4 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.1376, allocations: 30.56 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.1376, allocations: 0 / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003849/0.138, allocations: 129.5 kB / 495.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.138, allocations: 51.41 kB / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.1382, allocations: 157.6 kB / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1382, allocations: 25.7 kB / 495.6 MB, free: 5.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.1383, allocations: 135.5 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1383, allocations: 19.73 kB / 495.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.1383, allocations: 4 kB / 495.8 MB, free: 5.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1384, allocations: 326.8 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.1385, allocations: 27.98 kB / 496.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1386, allocations: 68.27 kB / 496.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.1389, allocations: 108.2 kB / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1389, allocations: 0 / 496.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002631/0.1391, allocations: 133.4 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1392, allocations: 8.125 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1392, allocations: 0 / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1392, allocations: 7.984 kB / 496.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.1393, allocations: 27.92 kB / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.1394, allocations: 7.938 kB / 496.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.1395, allocations: 19.89 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1395, allocations: 4 kB / 496.5 MB, free: 4.695 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 8.651e-05/0.1396, allocations: 129.7 kB / 496.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1396, allocations: 7.906 kB / 496.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.173e-05/0.1396, allocations: 16.3 kB / 496.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.1396, allocations: 3.938 kB / 496.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1397, allocations: 0 / 496.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1397, allocations: 0 / 496.6 MB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.1399, allocations: 213.5 kB / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1399, allocations: 256 / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.14, allocations: 19.98 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.14, allocations: 4 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.14, allocations: 4 kB / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.14, allocations: 3.938 kB / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.14, allocations: 0 / 496.9 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1403, allocations: 195.4 kB / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.1403, allocations: 89 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1403, allocations: 4 kB / 497.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.96e-05/0.1404, allocations: 7.938 kB / 497.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.1405, allocations: 7.984 kB / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.1405, allocations: 0 / 497.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.165e-05/0.1406, allocations: 111.3 kB / 497.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1406, allocations: 4 kB / 497.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.1408, allocations: 27.84 kB / 497.3 MB, free: 3.77 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 8.718e-05/0.1409, allocations: 95.22 kB / 497.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.1411, allocations: 92 kB / 497.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1412, allocations: 0 / 497.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1413, allocations: 31.92 kB / 497.5 MB, free: 3.547 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.1415, allocations: 15.66 kB / 497.5 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.1421, allocations: 355.5 kB / 497.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1423, allocations: 0.7079 MB / 498.6 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1424, allocations: 11.44 kB / 498.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1424, allocations: 4 kB / 498.6 MB, free: 2.402 MB / 378.7 MB Notification: Performance of Templates: time 0.002376/0.1448, allocations: 1.221 MB / 499.8 MB, free: 1.18 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/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_cpp_ModelicaTest.FluxTubes.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches