Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008136/0.0008138, 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.27/1.27, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0006978/0.0006977, allocations: 77.06 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.2965/0.2965, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004599, allocations: 23.92 kB / 432 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1109, allocations: 58.84 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002/0.113, allocations: 1.317 MB / 492.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1142, allocations: 0.891 MB / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.1143, allocations: 0 / 493 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1145, allocations: 23.92 kB / 493.1 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.1147, allocations: 31.91 kB / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1151, allocations: 99.81 kB / 493.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.1152, allocations: 55.83 kB / 493.2 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1153, allocations: 16.17 kB / 493.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.1154, allocations: 19.88 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1155, allocations: 27.89 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1155, allocations: 0 / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1157, allocations: 47.92 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.1157, allocations: 8 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.1158, allocations: 49.55 kB / 493.4 MB, free: 8.047 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.116, allocations: 67.84 kB / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.116, allocations: 0 / 493.5 MB, free: 7.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.116, allocations: 3.984 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.116, allocations: 0 / 493.5 MB, free: 7.977 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.0005618/0.1166, allocations: 387.5 kB / 493.9 MB, free: 7.551 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1166, allocations: 8.031 kB / 493.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1167, allocations: 8.844 kB / 493.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.1169, allocations: 188.2 kB / 494.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1169, allocations: 384 / 494.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.117, allocations: 4.375 kB / 494.1 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1172, allocations: 79.33 kB / 494.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1172, allocations: 3.984 kB / 494.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1172, allocations: 4 kB / 494.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.1172, allocations: 7.938 kB / 494.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1174, allocations: 35.97 kB / 494.2 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.1178, allocations: 288.8 kB / 494.5 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1179, allocations: 50.48 kB / 494.5 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.298e-05/0.118, allocations: 32.88 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.118, allocations: 4 kB / 494.6 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.1181, allocations: 34.5 kB / 494.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1181, allocations: 0 / 494.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007809/0.1189, allocations: 241.3 kB / 494.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.1189, allocations: 85.09 kB / 494.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1191, allocations: 137.7 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1191, allocations: 25.7 kB / 495.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.1192, allocations: 96.12 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1192, allocations: 15.66 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.1192, allocations: 8 kB / 495.2 MB, free: 6.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1193, allocations: 318.8 kB / 495.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.1195, allocations: 39.97 kB / 495.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1196, allocations: 53.69 kB / 495.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.1198, allocations: 92.84 kB / 495.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1198, allocations: 0 / 495.7 MB, free: 5.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000272/0.1201, allocations: 133.5 kB / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1201, allocations: 4 kB / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1201, allocations: 0 / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1202, allocations: 0 / 495.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.1203, allocations: 23.98 kB / 495.8 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1203, allocations: 3.984 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.1204, allocations: 15.94 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1204, allocations: 4 kB / 495.9 MB, free: 5.355 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.993e-05/0.1205, allocations: 121.8 kB / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.1205, allocations: 8.188 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.1209, allocations: 145.9 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1209, allocations: 7.984 kB / 496.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1209, allocations: 0 / 496.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1209, allocations: 3.938 kB / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.1214, allocations: 402.5 kB / 496.5 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1214, allocations: 4 kB / 496.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.097e-05/0.1215, allocations: 19.98 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1215, allocations: 4 kB / 496.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1215, allocations: 7.938 kB / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1215, allocations: 0 / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1216, allocations: 0 / 496.6 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1219, allocations: 223.8 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1219, allocations: 89 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.122, allocations: 7.938 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.1221, allocations: 11.98 kB / 496.9 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.1221, allocations: 15.92 kB / 496.9 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1221, allocations: 3.938 kB / 496.9 MB, free: 4.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.749e-05/0.1222, allocations: 103.3 kB / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1222, allocations: 0 / 497 MB, free: 4.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002533/0.1225, allocations: 24 kB / 497 MB, free: 4.074 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.0009014/0.1234, allocations: 442.7 kB / 497.5 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003002/0.1237, allocations: 91.94 kB / 497.6 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1237, allocations: 4 kB / 497.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1238, allocations: 47.91 kB / 497.6 MB, free: 3.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.1241, allocations: 19.92 kB / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.1246, allocations: 215.1 kB / 497.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.1248, allocations: 0.6887 MB / 498.5 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.1249, allocations: 19.42 kB / 498.5 MB, free: 2.547 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1249, allocations: 0 / 498.5 MB, free: 2.547 MB / 378.7 MB Notification: Performance of Templates: time 0.00355/0.1285, allocations: 1.699 MB / 0.4885 GB, free: 0.8477 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches