Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007274/0.0007274, allocations: 93.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008501/0.0008501, allocations: 204 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1824/0.1824, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002276/0.0002276, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08839/0.08863, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.001654/0.09032, allocations: 1.377 MB / 484.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.09176, allocations: 1.163 MB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.09181, allocations: 0 / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.09197, allocations: 23.92 kB / 485.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.09217, allocations: 67.75 kB / 485.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.09254, allocations: 167 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.09267, allocations: 71.77 kB / 485.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.09276, allocations: 19.97 kB / 485.9 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.09282, allocations: 23.88 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.09294, allocations: 43.77 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.09297, allocations: 0 / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.09312, allocations: 99.88 kB / 486.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.563e-05/0.09317, allocations: 15.98 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.09322, allocations: 49.5 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.09342, allocations: 143.6 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.09344, allocations: 0 / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09344, allocations: 0 / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.09345, allocations: 0 / 486.3 MB, free: 0.8789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004083/0.09387, allocations: 407.5 kB / 486.7 MB, free: 444 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.0939, allocations: 8.875 kB / 486.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.09394, allocations: 16.77 kB / 486.7 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.09411, allocations: 198.8 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.09413, allocations: 4.375 kB / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.09416, allocations: 384 / 486.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.09433, allocations: 87.5 kB / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.09435, allocations: 0 / 487 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.09437, allocations: 7.984 kB / 487 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.09438, allocations: 4 kB / 487 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.09453, allocations: 43.95 kB / 487.1 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.09494, allocations: 312.8 kB / 487.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.09507, allocations: 54.55 kB / 487.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.09516, allocations: 32.94 kB / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.09519, allocations: 0 / 487.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.09522, allocations: 34.56 kB / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.09522, allocations: 0 / 487.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008163/0.09604, allocations: 269.1 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.0961, allocations: 81.19 kB / 487.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.09624, allocations: 153.6 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.09626, allocations: 25.7 kB / 488 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.09631, allocations: 100.1 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.09635, allocations: 23.66 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.09638, allocations: 17.7 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.09647, allocations: 318.8 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.09661, allocations: 47.95 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.09676, allocations: 61.69 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.09703, allocations: 104.8 kB / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.09704, allocations: 0 / 488.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003194/0.09736, allocations: 141.8 kB / 488.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.09738, allocations: 4 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.09739, allocations: 3.938 kB / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.09741, allocations: 0 / 488.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.09753, allocations: 27.97 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.09755, allocations: 4.062 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.09763, allocations: 15.94 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.09764, allocations: 8 kB / 488.9 MB, free: 14.07 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 (7): * Single equations (assignments): 7 * 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 7.654e-05/0.09773, allocations: 121.8 kB / 489 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.09777, allocations: 15.84 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.09814, allocations: 158.2 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.09815, allocations: 4 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.09816, allocations: 0 / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.09817, allocations: 7.938 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.09872, allocations: 422.5 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.09874, allocations: 4 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-05/0.09884, allocations: 27.97 kB / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.09885, allocations: 0 / 489.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.09887, allocations: 15.88 kB / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.09887, allocations: 0 / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.09888, allocations: 0 / 489.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.09923, allocations: 235.4 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.09928, allocations: 85 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.0993, allocations: 7.938 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.09942, allocations: 19.98 kB / 490 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.09945, allocations: 4 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.09946, allocations: 0 / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.535e-05/0.09955, allocations: 121.5 kB / 490.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.09956, allocations: 0 / 490.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.09984, allocations: 43.98 kB / 490.1 MB, free: 12.7 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 (7): * Single equations (assignments): 7 * 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.000992/0.1008, allocations: 495.9 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1012, allocations: 107.9 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1012, allocations: 0 / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.1013, allocations: 59.97 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1016, allocations: 15.98 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.1021, allocations: 257 kB / 491.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.1023, allocations: 0.6984 MB / 491.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.939e-05/0.1024, allocations: 36.88 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.1025, allocations: 11.44 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1025, allocations: 4 kB / 491.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Templates: time 0.00414/0.1066, allocations: 1.838 MB / 493.6 MB, free: 9.305 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches