Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.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.CombiTable1D.Test27,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.CombiTable1D.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,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.CombiTable1D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 178 kB / 16.41 MB, free: 5.707 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.625/1.625, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0006913/0.0006913, allocations: 94.28 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.3407/0.3407, allocations: 43.57 MB / 362.7 MB, free: 52.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004134, allocations: 12 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.112, allocations: 58.84 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.001771/0.1139, allocations: 1.267 MB / 491.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005286/0.1144, allocations: 291.8 kB / 491.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.1145, allocations: 4 kB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1148, allocations: 127.8 kB / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.1149, allocations: 79.77 kB / 492 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1152, allocations: 79.83 kB / 492.1 MB, free: 9.359 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1153, allocations: 71.81 kB / 492.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.671e-05/0.1154, allocations: 15.97 kB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.803e-05/0.1155, allocations: 39.84 kB / 492.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.1156, allocations: 59.84 kB / 492.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1156, allocations: 4 kB / 492.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.1157, allocations: 31.92 kB / 492.3 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.1157, allocations: 27.91 kB / 492.3 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.287e-05/0.1158, allocations: 33.64 kB / 492.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.1159, allocations: 75.91 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1159, allocations: 0 / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1159, allocations: 0 / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1159, allocations: 3.938 kB / 492.4 MB, free: 8.996 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.0004277/0.1164, allocations: 418.9 kB / 492.8 MB, free: 8.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1164, allocations: 12.02 kB / 492.8 MB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.1165, allocations: 15.86 kB / 492.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1167, allocations: 202.5 kB / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1167, allocations: 0 / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1167, allocations: 8 kB / 493.1 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1168, allocations: 53.62 kB / 493.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1169, allocations: 0 / 493.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.1169, allocations: 0 / 493.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1169, allocations: 0 / 493.1 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.117, allocations: 35.92 kB / 493.2 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.1174, allocations: 293 kB / 493.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1176, allocations: 46.5 kB / 493.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.1176, allocations: 20.94 kB / 493.5 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1177, allocations: 4 kB / 493.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.1177, allocations: 34.55 kB / 493.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.1177, allocations: 0 / 493.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005571/0.1183, allocations: 193 kB / 493.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.1183, allocations: 51.41 kB / 493.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1185, allocations: 259.3 kB / 494 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1186, allocations: 29.7 kB / 494.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.1186, allocations: 112 kB / 494.2 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1186, allocations: 15.81 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.1187, allocations: 0 / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1188, allocations: 326.8 kB / 494.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.1189, allocations: 27.97 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-05/0.1189, allocations: 23.98 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.119, allocations: 32.17 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.119, allocations: 4 kB / 494.6 MB, free: 6.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001948/0.1192, allocations: 97.52 kB / 494.7 MB, free: 6.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1192, allocations: 11.94 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1193, allocations: 0 / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1193, allocations: 0 / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.1193, allocations: 16 kB / 494.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1194, allocations: 3.938 kB / 494.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.1194, allocations: 11.98 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.1194, allocations: 0 / 494.7 MB, free: 6.469 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 9.042e-05/0.1195, allocations: 133.8 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.1196, allocations: 11.81 kB / 494.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1198, allocations: 122.5 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1198, allocations: 0 / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1199, allocations: 3.938 kB / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1199, allocations: 0 / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.1203, allocations: 374.5 kB / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1203, allocations: 7.984 kB / 495.4 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.1204, allocations: 11.95 kB / 495.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1204, allocations: 7.938 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.1204, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1204, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1204, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1207, allocations: 203.5 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.1207, allocations: 92.91 kB / 495.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.1208, allocations: 3.953 kB / 495.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.1208, allocations: 4 kB / 495.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.1209, allocations: 7.984 kB / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.1209, allocations: 8 kB / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001509/0.121, allocations: 199.4 kB / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.121, allocations: 0 / 495.9 MB, free: 5.188 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.1213, allocations: 19.98 kB / 495.9 MB, free: 5.168 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.0007774/0.1221, allocations: 396.4 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1223, allocations: 71.89 kB / 496.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1223, allocations: 0 / 496.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/0.1224, allocations: 27.98 kB / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1227, allocations: 16.17 kB / 496.4 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.1232, allocations: 327.8 kB / 496.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1234, allocations: 0.7121 MB / 497.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.1235, allocations: 11.44 kB / 497.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1235, allocations: 0 / 497.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of Templates: time 0.002954/0.1264, allocations: 1.621 MB / 499.1 MB, free: 1.992 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches