Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001566, allocations: 183.9 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.005/2.005, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001165/0.001165, allocations: 84.45 kB / 270.9 MB, free: 8.359 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.5688/0.5688, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006596/0.0006597, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1326, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002468/0.1352, allocations: 1.251 MB / 491.5 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007984/0.136, allocations: 279.8 kB / 491.7 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1361, allocations: 4 kB / 491.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.1363, allocations: 19.84 kB / 491.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1365, allocations: 27.91 kB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1368, allocations: 71.8 kB / 491.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.137, allocations: 35.95 kB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1371, allocations: 15.95 kB / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.614e-05/0.1372, allocations: 19.88 kB / 491.9 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.1373, allocations: 11.92 kB / 491.9 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1373, allocations: 4 kB / 491.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.1374, allocations: 19.98 kB / 492 MB, free: 9.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.417e-05/0.1375, allocations: 15.92 kB / 492 MB, free: 9.445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.1375, allocations: 33.7 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1377, allocations: 63.84 kB / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1377, allocations: 0 / 492.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1377, allocations: 3.938 kB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1377, allocations: 0 / 492.1 MB, free: 9.34 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005816/0.1383, allocations: 375.3 kB / 492.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1384, allocations: 12.02 kB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.1384, allocations: 11.86 kB / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1387, allocations: 182.9 kB / 492.6 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1387, allocations: 12 kB / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1388, allocations: 0 / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.139, allocations: 45.69 kB / 492.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.139, allocations: 0 / 492.7 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.139, allocations: 3.953 kB / 492.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.139, allocations: 0 / 492.7 MB, free: 8.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1392, allocations: 35.91 kB / 492.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.1397, allocations: 272.9 kB / 493 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.14, allocations: 46.56 kB / 493.1 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.14, allocations: 0 / 493.1 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.14, allocations: 42.45 kB / 493.1 MB, free: 8.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.814e-06/0.1401, allocations: 0 / 493.1 MB, free: 8.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008534/0.1409, allocations: 157.4 kB / 493.3 MB, free: 8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.141, allocations: 51.41 kB / 493.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1412, allocations: 165.7 kB / 493.5 MB, free: 7.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.1413, allocations: 29.7 kB / 493.5 MB, free: 7.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.1414, allocations: 162.5 kB / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1414, allocations: 23.64 kB / 493.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/0.1414, allocations: 0 / 493.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1416, allocations: 314.8 kB / 494 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1417, allocations: 23.98 kB / 494 MB, free: 7.207 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1418, allocations: 27.92 kB / 494 MB, free: 7.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.142, allocations: 19.98 kB / 494.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.142, allocations: 0 / 494.1 MB, free: 7.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003134/0.1423, allocations: 85.62 kB / 494.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1423, allocations: 8 kB / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1424, allocations: 0 / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1424, allocations: 0 / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1425, allocations: 20.17 kB / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1425, allocations: 0 / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.1426, allocations: 16 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1426, allocations: 0 / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 0.0001233/0.1428, allocations: 121.8 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1428, allocations: 11.86 kB / 494.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.1432, allocations: 97.97 kB / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1432, allocations: 0 / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1432, allocations: 0 / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1432, allocations: 0 / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.1439, allocations: 354.5 kB / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1439, allocations: 0 / 494.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.144, allocations: 19.98 kB / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.144, allocations: 0 / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.144, allocations: 0 / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1441, allocations: 0 / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1441, allocations: 4 kB / 494.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.1445, allocations: 191.3 kB / 495 MB, free: 6.152 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.1445, allocations: 85.3 kB / 495 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1446, allocations: 4 kB / 495 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1447, allocations: 7.984 kB / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.1447, allocations: 7.984 kB / 495.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1448, allocations: 192 / 495.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1449, allocations: 130.7 kB / 495.2 MB, free: 5.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1449, allocations: 7.938 kB / 495.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.1453, allocations: 23.98 kB / 495.2 MB, free: 5.875 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.001147/0.1464, allocations: 392 kB / 495.6 MB, free: 5.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.1468, allocations: 59.89 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1469, allocations: 4 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.147, allocations: 27.98 kB / 495.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1474, allocations: 11.95 kB / 495.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.148, allocations: 231.3 kB / 495.9 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1483, allocations: 0.7004 MB / 496.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.1484, allocations: 11.44 kB / 496.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1484, allocations: 0 / 496.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of Templates: time 0.004395/0.1528, allocations: 1.399 MB / 498 MB, free: 3.035 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches