Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 94.66 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 177.5 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 243 MB, free: 14.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.24 MB / 338.3 MB, free: 2.387 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003091, allocations: 16.69 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002159/0.1125, allocations: 1.337 MB / 474.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1135, allocations: 0.6566 MB / 474.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.171e-05/0.1136, allocations: 8 kB / 474.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1139, allocations: 27.91 kB / 474.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.1141, allocations: 35.89 kB / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.1141, allocations: 0 / 475 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1143, allocations: 51.83 kB / 475 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.1143, allocations: 7.984 kB / 475 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.1144, allocations: 11.92 kB / 475 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.1144, allocations: 11.94 kB / 475.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1145, allocations: 11.94 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.1145, allocations: 11.92 kB / 475.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.1146, allocations: 12 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.1146, allocations: 53.48 kB / 475.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1147, allocations: 44.22 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1148, allocations: 0 / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1148, allocations: 0 / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1148, allocations: 0 / 475.2 MB, free: 11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003537/0.1151, allocations: 363.3 kB / 475.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1152, allocations: 12.03 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.1152, allocations: 8.844 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1154, allocations: 180.2 kB / 475.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1154, allocations: 4.312 kB / 475.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1154, allocations: 4.375 kB / 475.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1156, allocations: 115.4 kB / 475.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1156, allocations: 192 / 475.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1157, allocations: 7.938 kB / 475.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/0.1157, allocations: 31.91 kB / 475.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.472e-05/0.1158, allocations: 47.89 kB / 475.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.1165, allocations: 0.8867 MB / 476.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.1166, allocations: 165.1 kB / 477 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.1167, allocations: 80.14 kB / 477.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1167, allocations: 79.22 kB / 477.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/0.1168, allocations: 121.9 kB / 477.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1168, allocations: 0 / 477.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.986e-05/0.1169, allocations: 33.61 kB / 477.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1169, allocations: 126.7 kB / 477.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1171, allocations: 182.1 kB / 477.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1171, allocations: 29.7 kB / 477.6 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1173, allocations: 147.1 kB / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.511e-06/0.1173, allocations: 4 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.1173, allocations: 25.7 kB / 477.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1175, allocations: 314.8 kB / 478.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.1175, allocations: 35.97 kB / 478.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1176, allocations: 156 kB / 478.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.1179, allocations: 204.9 kB / 478.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1179, allocations: 0 / 478.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003265/0.1183, allocations: 201.6 kB / 478.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1183, allocations: 8 kB / 478.7 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1183, allocations: 4 kB / 478.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1183, allocations: 4 kB / 478.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1185, allocations: 43.91 kB / 478.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1185, allocations: 7.938 kB / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.1186, allocations: 35.56 kB / 478.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1186, allocations: 12 kB / 478.8 MB, free: 6.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.1187, allocations: 217.9 kB / 479 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-05/0.1188, allocations: 116.8 kB / 479.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.1189, allocations: 108.9 kB / 479.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.829e-05/0.119, allocations: 192.2 kB / 479.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.817e-05/0.119, allocations: 180.3 kB / 479.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.929e-05/0.1191, allocations: 184.2 kB / 479.8 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.1194, allocations: 429.2 kB / 480.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.691e-05/0.1194, allocations: 104.9 kB / 480.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.1195, allocations: 104.9 kB / 480.4 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-05/0.1196, allocations: 180.3 kB / 480.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/0.1196, allocations: 180.2 kB / 480.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.282e-05/0.1197, allocations: 180.2 kB / 480.9 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-05/0.1198, allocations: 180.3 kB / 481.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.1199, allocations: 311.7 kB / 481.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.926e-05/0.1201, allocations: 197.9 kB / 481.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.1201, allocations: 180.3 kB / 481.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.1202, allocations: 105 kB / 481.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.1203, allocations: 184.2 kB / 482.1 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/0.1204, allocations: 105 kB / 482.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1205, allocations: 131.2 kB / 482.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1205, allocations: 0 / 482.3 MB, free: 3.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1208, allocations: 16 kB / 482.3 MB, free: 3.25 MB / 350.1 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005257/0.1213, allocations: 274.7 kB / 482.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1215, allocations: 71.78 kB / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1215, allocations: 0 / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.868e-06/0.1215, allocations: 5.188 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.1219, allocations: 0.5403 MB / 483.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1223, allocations: 296.5 kB / 483.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.1228, allocations: 0.697 MB / 484.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.1229, allocations: 19.44 kB / 484.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1229, allocations: 0 / 484.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of Templates: time 0.003274/0.1262, allocations: 1.255 MB / 485.5 MB, free: 84 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches