Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008217/0.0008217, allocations: 174.8 kB / 16.72 MB, free: 5.078 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.223/1.223, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0007336/0.0007336, allocations: 89 kB / 271.2 MB, free: 8.238 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.327/0.327, allocations: 43.55 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003442, allocations: 16 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1109, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.001927/0.1129, allocations: 1.321 MB / 492.1 MB, free: 9.316 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005512/0.1134, allocations: 291.9 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.1135, allocations: 4 kB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1137, allocations: 59.84 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1139, allocations: 59.86 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1142, allocations: 95.81 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1144, allocations: 63.83 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1145, allocations: 12.19 kB / 492.7 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.1146, allocations: 35.89 kB / 492.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.461e-05/0.1146, allocations: 31.84 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1147, allocations: 0 / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1148, allocations: 35.97 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.1148, allocations: 19.92 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1149, allocations: 45.52 kB / 492.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1151, allocations: 71.83 kB / 493 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1151, allocations: 4 kB / 493 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1151, allocations: 7.938 kB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1151, allocations: 0 / 493 MB, free: 8.484 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.0004779/0.1156, allocations: 403.3 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1156, allocations: 8.031 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.1157, allocations: 8.844 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1158, allocations: 196.1 kB / 493.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1159, allocations: 384 / 493.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1159, allocations: 8.375 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.116, allocations: 65.59 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1161, allocations: 0 / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1161, allocations: 8 kB / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1161, allocations: 0 / 493.6 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.1162, allocations: 47.91 kB / 493.7 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.1166, allocations: 296.7 kB / 494 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1167, allocations: 46.66 kB / 494 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.085e-05/0.1168, allocations: 32.84 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1168, allocations: 7.922 kB / 494.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.1169, allocations: 30.56 kB / 494.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.1169, allocations: 0 / 494.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007455/0.1176, allocations: 241.1 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1177, allocations: 51.41 kB / 494.4 MB, free: 6.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1178, allocations: 206.2 kB / 494.6 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.1179, allocations: 25.7 kB / 494.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.1179, allocations: 100.1 kB / 494.7 MB, free: 6.539 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.1179, allocations: 23.64 kB / 494.7 MB, free: 6.516 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.118, allocations: 11.94 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1181, allocations: 322.8 kB / 495.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.1182, allocations: 35.97 kB / 495.1 MB, free: 6.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.968e-05/0.1183, allocations: 43.97 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1185, allocations: 92.88 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1185, allocations: 0 / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002637/0.1188, allocations: 129.4 kB / 495.4 MB, free: 5.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1188, allocations: 12 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1188, allocations: 0 / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1189, allocations: 0 / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.119, allocations: 23.98 kB / 495.4 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.119, allocations: 4 kB / 495.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.119, allocations: 15.92 kB / 495.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1191, allocations: 4 kB / 495.4 MB, free: 5.816 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 9.199e-05/0.1192, allocations: 129.8 kB / 495.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1192, allocations: 7.906 kB / 495.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.1195, allocations: 150.3 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1195, allocations: 4.219 kB / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1195, allocations: 0 / 495.7 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1195, allocations: 3.938 kB / 495.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.12, allocations: 406.5 kB / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.12, allocations: 3.984 kB / 496.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.1201, allocations: 31.92 kB / 496.1 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1201, allocations: 4 kB / 496.1 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1202, allocations: 3.938 kB / 496.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1202, allocations: 0 / 496.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1202, allocations: 4.453 kB / 496.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.1205, allocations: 235.3 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.1205, allocations: 81.02 kB / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.1206, allocations: 11.94 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.1207, allocations: 11.98 kB / 496.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.1207, allocations: 7.984 kB / 496.5 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1207, allocations: 4 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1208, allocations: 164 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.1208, allocations: 0 / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.1211, allocations: 23.88 kB / 496.7 MB, free: 4.453 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.0007693/0.1218, allocations: 402.9 kB / 497.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1221, allocations: 91.94 kB / 497.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1221, allocations: 0 / 497.2 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1223, allocations: 55.91 kB / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1225, allocations: 15.98 kB / 497.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.123, allocations: 274.9 kB / 497.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.1232, allocations: 0.7043 MB / 498.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.1232, allocations: 19.36 kB / 498.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1232, allocations: 0 / 498.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of Templates: time 0.002788/0.126, allocations: 1.61 MB / 499.8 MB, free: 1.277 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches