Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 179.9 kB / 16.41 MB, free: 5.703 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.736/1.736, allocations: 205.4 MB / 222.5 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.0009375/0.0009375, allocations: 90.3 kB / 270.9 MB, free: 8.352 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.4367/0.4367, allocations: 43.56 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.000418, allocations: 12 kB / 431.4 MB, free: 5.938 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1441, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.001924/0.1461, allocations: 1.263 MB / 491.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1473, allocations: 0.8714 MB / 492.4 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.1474, allocations: 0 / 492.4 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.1476, allocations: 23.91 kB / 492.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.1478, allocations: 31.86 kB / 492.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.148, allocations: 63.92 kB / 492.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.1482, allocations: 47.84 kB / 492.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1483, allocations: 19.91 kB / 492.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.1483, allocations: 15.88 kB / 492.6 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1485, allocations: 19.91 kB / 492.6 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1485, allocations: 8 kB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.1486, allocations: 47.91 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.1486, allocations: 4 kB / 492.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.1487, allocations: 33.64 kB / 492.7 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1488, allocations: 63.89 kB / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1488, allocations: 0 / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1488, allocations: 0 / 492.7 MB, free: 8.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1488, allocations: 0 / 492.7 MB, free: 8.473 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.000481/0.1493, allocations: 379 kB / 493.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1494, allocations: 20.02 kB / 493.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1494, allocations: 7.859 kB / 493.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.1496, allocations: 179 kB / 493.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.1496, allocations: 4 kB / 493.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.1497, allocations: 0 / 493.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1498, allocations: 71.33 kB / 493.4 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1499, allocations: 3.906 kB / 493.4 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.1499, allocations: 7.984 kB / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1499, allocations: 0 / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.15, allocations: 27.94 kB / 493.4 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.1504, allocations: 265 kB / 493.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1506, allocations: 50.5 kB / 493.7 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.1506, allocations: 20.94 kB / 493.7 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1507, allocations: 0 / 493.7 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1507, allocations: 34.56 kB / 493.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1507, allocations: 0 / 493.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005632/0.1513, allocations: 153.3 kB / 493.9 MB, free: 7.102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.1513, allocations: 77.11 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1515, allocations: 133.8 kB / 494.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1515, allocations: 29.7 kB / 494.2 MB, free: 6.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.1516, allocations: 100 kB / 494.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.1516, allocations: 15.75 kB / 494.3 MB, free: 6.715 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.1516, allocations: 4 kB / 494.3 MB, free: 6.711 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1517, allocations: 314.8 kB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.1518, allocations: 23.98 kB / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.1519, allocations: 41.69 kB / 494.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.66e-05/0.152, allocations: 32.11 kB / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.152, allocations: 0 / 494.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001835/0.1522, allocations: 89.61 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1522, allocations: 11.55 kB / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1522, allocations: 7.938 kB / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1522, allocations: 0 / 494.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.1523, allocations: 15.98 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1523, allocations: 0 / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.1523, allocations: 4 kB / 494.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1524, allocations: 0 / 494.8 MB, free: 6.164 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 8.985e-05/0.1525, allocations: 117.8 kB / 494.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.1525, allocations: 4 kB / 494.9 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.1527, allocations: 105.4 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1527, allocations: 3.984 kB / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1527, allocations: 4 kB / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1528, allocations: 0 / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.1532, allocations: 346.5 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1532, allocations: 0 / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.1533, allocations: 19.94 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1533, allocations: 4 kB / 495.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1533, allocations: 4 kB / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1533, allocations: 0 / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1533, allocations: 0 / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1535, allocations: 187.7 kB / 495.6 MB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.1536, allocations: 85.02 kB / 495.7 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1536, allocations: 3.953 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1537, allocations: 11.98 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.1537, allocations: 3.938 kB / 495.7 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.1537, allocations: 4 kB / 495.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.325e-05/0.1538, allocations: 99.27 kB / 495.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1538, allocations: 0 / 495.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.1541, allocations: 27.98 kB / 495.8 MB, free: 5.051 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.0008917/0.155, allocations: 445.4 kB / 496.3 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1552, allocations: 55.97 kB / 496.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1552, allocations: 0 / 496.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.1553, allocations: 31.92 kB / 496.3 MB, free: 4.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1556, allocations: 15.92 kB / 496.4 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.156, allocations: 206.4 kB / 496.6 MB, free: 4.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1563, allocations: 0.6848 MB / 497.2 MB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.1563, allocations: 19.42 kB / 497.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1563, allocations: 0 / 497.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of Templates: time 0.003106/0.1595, allocations: 1.532 MB / 498.8 MB, free: 2.055 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches