Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001986/0.001986, allocations: 179.5 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.718/1.718, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0007281/0.0007282, allocations: 90.3 kB / 270.9 MB, free: 8.363 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.3085/0.3085, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003923, allocations: 12 kB / 431.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1076, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001784/0.1094, allocations: 1.278 MB / 491.5 MB, free: 9.934 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005322/0.11, allocations: 303.8 kB / 491.8 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.11, allocations: 4 kB / 491.8 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.1106, allocations: 439.2 kB / 492.2 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.1109, allocations: 239.5 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.1112, allocations: 139.8 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1114, allocations: 123.7 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.1115, allocations: 15.98 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.982e-05/0.1116, allocations: 95.8 kB / 492.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1118, allocations: 163.7 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1118, allocations: 4 kB / 493 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.904e-05/0.1119, allocations: 19.97 kB / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.384e-05/0.112, allocations: 87.69 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.112, allocations: 61.52 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.1122, allocations: 167.8 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1122, allocations: 0 / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1122, allocations: 4 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1122, allocations: 0 / 493.3 MB, free: 8.094 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.0006236/0.1129, allocations: 0.595 MB / 493.9 MB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1129, allocations: 16.02 kB / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.113, allocations: 43.48 kB / 494 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1132, allocations: 271.4 kB / 494.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1133, allocations: 0 / 494.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1133, allocations: 8 kB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1134, allocations: 49.67 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1134, allocations: 0 / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.1134, allocations: 0 / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1134, allocations: 0 / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.1135, allocations: 39.88 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.114, allocations: 380.8 kB / 494.7 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.1141, allocations: 38.56 kB / 494.8 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.1142, allocations: 20.91 kB / 494.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.1142, allocations: 0 / 494.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1142, allocations: 38.52 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.124e-06/0.1142, allocations: 0 / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.000283/0.1145, allocations: 113.1 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.1146, allocations: 55.41 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.1153, allocations: 0.8613 MB / 495.8 MB, free: 5.391 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1154, allocations: 25.7 kB / 495.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.1155, allocations: 216.1 kB / 496.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.1155, allocations: 3.906 kB / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.1156, allocations: 0 / 496.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1157, allocations: 366.7 kB / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.1158, allocations: 12.03 kB / 496.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.1158, allocations: 11.98 kB / 496.5 MB, free: 4.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.335e-05/0.1158, allocations: 16 kB / 496.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1159, allocations: 0 / 496.5 MB, free: 4.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001444/0.116, allocations: 105.1 kB / 496.6 MB, free: 4.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.116, allocations: 4 kB / 496.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.116, allocations: 3.953 kB / 496.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1161, allocations: 3.984 kB / 496.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.1161, allocations: 8 kB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1161, allocations: 0 / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1162, allocations: 7.984 kB / 496.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1162, allocations: 0 / 496.6 MB, free: 4.598 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 (2): * Single equations (assignments): 2 * 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 0.0001717/0.1164, allocations: 213.8 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.1164, allocations: 39.44 kB / 496.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1166, allocations: 112.6 kB / 497 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1166, allocations: 3.953 kB / 497 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1167, allocations: 0 / 497 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.1167, allocations: 4 kB / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.1169, allocations: 281.6 kB / 497.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1169, allocations: 4 kB / 497.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.117, allocations: 8.031 kB / 497.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.117, allocations: 0 / 497.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.117, allocations: 4 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.117, allocations: 0 / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.117, allocations: 3.953 kB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1172, allocations: 191 kB / 497.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.1173, allocations: 116.6 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1173, allocations: 3.938 kB / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.989e-05/0.1174, allocations: 3.984 kB / 497.6 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.1174, allocations: 7.953 kB / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.1174, allocations: 0 / 497.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005712/0.118, allocations: 0.6511 MB / 498.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.118, allocations: 0 / 498.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.1182, allocations: 16 kB / 498.3 MB, free: 2.855 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 (2): * Single equations (assignments): 2 * 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.0006801/0.1189, allocations: 354.5 kB / 498.6 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.119, allocations: 27.98 kB / 498.6 MB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1191, allocations: 4 kB / 498.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.1191, allocations: 15.94 kB / 498.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1194, allocations: 29.23 kB / 498.7 MB, free: 2.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.1204, allocations: 0.8422 MB / 499.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1208, allocations: 0.8224 MB / 0.4886 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.1208, allocations: 7.438 kB / 0.4886 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.1208, allocations: 0 / 0.4886 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of Templates: time 0.1867/0.3076, allocations: 3.389 MB / 0.4919 GB, free: 42.08 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches