Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 169.8 kB / 16.72 MB, free: 5.051 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.204/1.204, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007497/0.0007496, allocations: 88.98 kB / 271.2 MB, free: 8.246 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.2999/0.2999, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003897, allocations: 15.98 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 58.83 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test27): time 0.001931/0.1106, allocations: 1.317 MB / 492.1 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005611/0.1112, allocations: 299.8 kB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.1113, allocations: 4 kB / 492.4 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.1115, allocations: 59.84 kB / 492.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1117, allocations: 43.89 kB / 492.5 MB, free: 9.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.112, allocations: 99.8 kB / 492.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1121, allocations: 59.83 kB / 492.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1122, allocations: 16.17 kB / 492.7 MB, free: 9.012 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.1123, allocations: 27.86 kB / 492.7 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.111e-05/0.1124, allocations: 35.89 kB / 492.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1124, allocations: 0 / 492.8 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.516e-05/0.1125, allocations: 31.92 kB / 492.8 MB, free: 8.918 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.1126, allocations: 15.98 kB / 492.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.1126, allocations: 53.52 kB / 492.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1128, allocations: 63.81 kB / 492.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1128, allocations: 4 kB / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1128, allocations: 0 / 492.9 MB, free: 8.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.1128, allocations: 4 kB / 492.9 MB, free: 8.773 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004755/0.1133, allocations: 387.4 kB / 493.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1133, allocations: 8.031 kB / 493.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.1134, allocations: 12.83 kB / 493.3 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.1136, allocations: 204.6 kB / 493.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1136, allocations: 8.125 kB / 493.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1136, allocations: 8 kB / 493.5 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1138, allocations: 57.66 kB / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1138, allocations: 0 / 493.6 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1138, allocations: 4 kB / 493.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1138, allocations: 0 / 493.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.114, allocations: 51.91 kB / 493.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1143, allocations: 284.8 kB / 493.9 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1145, allocations: 54.55 kB / 494 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.1146, allocations: 20.94 kB / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.1146, allocations: 0 / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1146, allocations: 42.5 kB / 494 MB, free: 7.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1146, allocations: 0 / 494 MB, free: 7.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007497/0.1154, allocations: 241.1 kB / 494.3 MB, free: 7.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1155, allocations: 59.34 kB / 494.3 MB, free: 7.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1156, allocations: 170.4 kB / 494.5 MB, free: 7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1156, allocations: 33.7 kB / 494.5 MB, free: 6.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.1157, allocations: 104 kB / 494.6 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1157, allocations: 23.72 kB / 494.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.1157, allocations: 4 kB / 494.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1159, allocations: 318.8 kB / 495 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.116, allocations: 43.97 kB / 495 MB, free: 6.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.1161, allocations: 43.91 kB / 495.1 MB, free: 6.422 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.1163, allocations: 92.81 kB / 495.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1163, allocations: 0 / 495.2 MB, free: 6.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002689/0.1166, allocations: 129.7 kB / 495.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1166, allocations: 4 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1166, allocations: 3.938 kB / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1166, allocations: 0 / 495.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.1168, allocations: 23.98 kB / 495.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.1168, allocations: 4.062 kB / 495.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.825e-05/0.1168, allocations: 15.98 kB / 495.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1168, allocations: 4 kB / 495.3 MB, free: 6.141 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 (7): * Single equations (assignments): 7 * 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.475e-05/0.1169, allocations: 129.8 kB / 495.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.117, allocations: 7.906 kB / 495.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.1173, allocations: 150.2 kB / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1173, allocations: 0 / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1173, allocations: 0 / 495.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1173, allocations: 4 kB / 495.6 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.1178, allocations: 402.5 kB / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1178, allocations: 0 / 496 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.1179, allocations: 27.92 kB / 496 MB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1179, allocations: 4 kB / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.1179, allocations: 0 / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1179, allocations: 0 / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1179, allocations: 0 / 496 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.1182, allocations: 235.2 kB / 496.3 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.1183, allocations: 85.3 kB / 496.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1183, allocations: 4 kB / 496.4 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.1184, allocations: 23.98 kB / 496.4 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1184, allocations: 3.984 kB / 496.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.1184, allocations: 7.984 kB / 496.4 MB, free: 4.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.266e-05/0.1185, allocations: 136 kB / 496.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1186, allocations: 0 / 496.5 MB, free: 4.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.1188, allocations: 20 kB / 496.6 MB, free: 4.82 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 (7): * Single equations (assignments): 7 * 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.0007963/0.1196, allocations: 397.7 kB / 496.9 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.1199, allocations: 91.94 kB / 497 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1199, allocations: 0 / 497 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.12, allocations: 55.91 kB / 497.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.1203, allocations: 23.78 kB / 497.1 MB, free: 4.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.1208, allocations: 258.9 kB / 497.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.121, allocations: 0.6965 MB / 498.1 MB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.1211, allocations: 19.44 kB / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1211, allocations: 0 / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of Templates: time 0.003082/0.1241, allocations: 1.567 MB / 499.6 MB, free: 1.715 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches