Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001126, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2088/0.2088, allocations: 46.1 MB / 344.3 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 77.28 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1082, allocations: 62.45 MB / 479.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004038/0.1123, allocations: 1.735 MB / 481.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1135, allocations: 0.5612 MB / 482.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.1135, allocations: 4 kB / 482.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005529/0.1141, allocations: 455.2 kB / 482.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004158/0.1146, allocations: 275.4 kB / 483 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.115, allocations: 119.4 kB / 483.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.1154, allocations: 175.6 kB / 483.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.1155, allocations: 20.22 kB / 483.3 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.1156, allocations: 115.7 kB / 483.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.1159, allocations: 207.6 kB / 483.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1159, allocations: 4 kB / 483.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1161, allocations: 47.97 kB / 483.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.1162, allocations: 87.67 kB / 483.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.72e-05/0.1163, allocations: 103 kB / 483.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.1165, allocations: 207.6 kB / 484 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1166, allocations: 0 / 484 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1166, allocations: 0 / 484 MB, free: 1.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1166, allocations: 4 kB / 484 MB, free: 1.641 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008783/0.1175, allocations: 0.6495 MB / 484.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1175, allocations: 8.031 kB / 484.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.1176, allocations: 44.38 kB / 484.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1179, allocations: 300.1 kB / 485 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.118, allocations: 8.375 kB / 485 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.118, allocations: 4.375 kB / 485 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.1182, allocations: 65.73 kB / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1182, allocations: 0 / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1182, allocations: 0 / 485.1 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1182, allocations: 7.984 kB / 485.1 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1183, allocations: 35.97 kB / 485.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.1188, allocations: 408.5 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.1191, allocations: 54.55 kB / 485.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.223e-05/0.1192, allocations: 24.97 kB / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1192, allocations: 0 / 485.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1193, allocations: 42.56 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1193, allocations: 3.938 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001578/0.1209, allocations: 463.6 kB / 486.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.1209, allocations: 55.34 kB / 486.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1219, allocations: 0.8652 MB / 487 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.122, allocations: 29.7 kB / 487.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.1222, allocations: 216 kB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.1222, allocations: 39.44 kB / 487.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.1223, allocations: 25.72 kB / 487.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.1225, allocations: 362.8 kB / 487.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1226, allocations: 39.97 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1228, allocations: 48.02 kB / 487.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.123, allocations: 104.7 kB / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.123, allocations: 0 / 487.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003362/0.1234, allocations: 173 kB / 488 MB, free: 13.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1234, allocations: 8 kB / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1234, allocations: 0 / 488.1 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1234, allocations: 3.984 kB / 488.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1235, allocations: 31.92 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1235, allocations: 0 / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.1236, allocations: 11.98 kB / 488.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1236, allocations: 0 / 488.1 MB, free: 13.33 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 (11): * Single equations (assignments): 11 * 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.0001831/0.1238, allocations: 221.7 kB / 488.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.1239, allocations: 43.44 kB / 488.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000403/0.1243, allocations: 205.9 kB / 488.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1243, allocations: 3.938 kB / 488.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1243, allocations: 0 / 488.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1243, allocations: 0 / 488.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009201/0.1253, allocations: 0.5701 MB / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1253, allocations: 0 / 489.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1254, allocations: 23.98 kB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1254, allocations: 4 kB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1254, allocations: 8.062 kB / 489.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.1254, allocations: 11.92 kB / 489.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1254, allocations: 3.984 kB / 489.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.1259, allocations: 280.6 kB / 489.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.126, allocations: 112.6 kB / 489.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.022e-05/0.1261, allocations: 8 kB / 489.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1262, allocations: 7.984 kB / 489.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1262, allocations: 11.94 kB / 489.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1262, allocations: 11.97 kB / 489.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007515/0.127, allocations: 0.6511 MB / 490.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.127, allocations: 0 / 490.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1273, allocations: 32 kB / 490.3 MB, free: 11.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001023/0.1283, allocations: 461.8 kB / 490.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.1287, allocations: 107.9 kB / 490.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1287, allocations: 0 / 490.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1288, allocations: 59.91 kB / 490.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.1293, allocations: 29.89 kB / 490.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1306, allocations: 0.9763 MB / 491.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.1313, allocations: 0.8301 MB / 492.7 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.1314, allocations: 15.44 kB / 492.8 MB, free: 8.641 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1314, allocations: 3.938 kB / 492.8 MB, free: 8.637 MB / 366.1 MB Notification: Performance of Templates: time 0.007561/0.139, allocations: 4.09 MB / 496.8 MB, free: 4.535 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches