Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001216/0.001216, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 72.73 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1076, allocations: 62.45 MB / 481.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003372/0.1111, allocations: 2.049 MB / 483.5 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1127, allocations: 1.021 MB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.262e-05/0.1128, allocations: 4 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.1133, allocations: 259.2 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.1137, allocations: 251.1 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009675/0.1147, allocations: 497.3 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.1151, allocations: 319.2 kB / 485.8 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.1153, allocations: 72.67 kB / 485.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1154, allocations: 147.4 kB / 486 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.1157, allocations: 203.2 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.1157, allocations: 12 kB / 486.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.1159, allocations: 95.97 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.116, allocations: 99.61 kB / 486.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.364e-05/0.1161, allocations: 127 kB / 486.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1165, allocations: 330.7 kB / 486.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1165, allocations: 4 kB / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1165, allocations: 0 / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.1165, allocations: 0 / 486.9 MB, free: 15.07 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006696/0.1172, allocations: 0.6534 MB / 487.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1172, allocations: 9.109 kB / 487.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.1173, allocations: 40.47 kB / 487.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1176, allocations: 318.1 kB / 487.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1176, allocations: 8.375 kB / 487.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.1177, allocations: 20.22 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1179, allocations: 109.8 kB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1179, allocations: 3.938 kB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.1179, allocations: 8 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.118, allocations: 4 kB / 488 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1181, allocations: 71.89 kB / 488.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.1188, allocations: 488.2 kB / 488.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.119, allocations: 90.55 kB / 488.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.1191, allocations: 40.83 kB / 488.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.1191, allocations: 4 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1191, allocations: 34.56 kB / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1191, allocations: 0 / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00094/0.1201, allocations: 395.9 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1201, allocations: 51.41 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.1207, allocations: 0.5643 MB / 489.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1207, allocations: 29.7 kB / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1209, allocations: 204.3 kB / 490 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.1209, allocations: 47.27 kB / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.121, allocations: 33.7 kB / 490.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1211, allocations: 354.8 kB / 490.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1212, allocations: 51.97 kB / 490.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1213, allocations: 58.06 kB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.1216, allocations: 112.8 kB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1216, allocations: 3.938 kB / 490.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003147/0.1219, allocations: 207.2 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1219, allocations: 4 kB / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1219, allocations: 4 kB / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.122, allocations: 0 / 490.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1221, allocations: 35.97 kB / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1221, allocations: 0 / 490.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.1222, allocations: 11.94 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1222, allocations: 4 kB / 490.9 MB, free: 10.84 MB / 366.1 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 (17): * Single equations (assignments): 17 * 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.0001402/0.1224, allocations: 185.7 kB / 491.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.1224, allocations: 43.44 kB / 491.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.1229, allocations: 225.6 kB / 491.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1229, allocations: 0 / 491.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1229, allocations: 4 kB / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1229, allocations: 0 / 491.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007273/0.1236, allocations: 0.6371 MB / 492 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1237, allocations: 7.984 kB / 492 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1238, allocations: 35.92 kB / 492 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1238, allocations: 0 / 492 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1238, allocations: 8 kB / 492 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1238, allocations: 0 / 492 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1238, allocations: 3.938 kB / 492 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.1242, allocations: 302.8 kB / 492.3 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.1243, allocations: 104.7 kB / 492.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.1243, allocations: 0 / 492.4 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.205e-05/0.1244, allocations: 8 kB / 492.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.1245, allocations: 15.86 kB / 492.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1245, allocations: 11.98 kB / 492.5 MB, free: 9.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003757/0.1249, allocations: 419.1 kB / 492.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1249, allocations: 0 / 492.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1252, allocations: 51.98 kB / 492.9 MB, free: 8.691 MB / 366.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 (17): * Single equations (assignments): 17 * 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.001523/0.1267, allocations: 0.678 MB / 493.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.127, allocations: 131.8 kB / 493.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.127, allocations: 0 / 493.7 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1272, allocations: 75.89 kB / 493.8 MB, free: 8.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.1277, allocations: 87.83 kB / 493.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.1288, allocations: 0.6924 MB / 494.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.1292, allocations: 0.8143 MB / 495.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.1294, allocations: 37.92 kB / 495.4 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1294, allocations: 27.42 kB / 495.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1294, allocations: 0 / 495.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of Templates: time 0.006793/0.1362, allocations: 3.255 MB / 498.7 MB, free: 3.145 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches