Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006998/0.0006998, allocations: 94 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.0008749/0.0008749, allocations: 200.6 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.303/1.303, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002241, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.08591, allocations: 63.57 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002017/0.08796, allocations: 1.727 MB / 484.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.08942, allocations: 0.982 MB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.485e-05/0.0895, allocations: 0 / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.08989, allocations: 251.4 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.09026, allocations: 231.4 kB / 486.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008812/0.09115, allocations: 464.9 kB / 486.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.09146, allocations: 303.2 kB / 487 MB, free: 252 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.09161, allocations: 64.72 kB / 487.1 MB, free: 188 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.09173, allocations: 119.4 kB / 487.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.09194, allocations: 191.3 kB / 487.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.09197, allocations: 4 kB / 487.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.09209, allocations: 71.89 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.0922, allocations: 83.67 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.0923, allocations: 132.6 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.09258, allocations: 295.1 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.09259, allocations: 0 / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.0926, allocations: 11.92 kB / 488 MB, free: 15.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09261, allocations: 0 / 488 MB, free: 15.29 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.0005618/0.09318, allocations: 0.5954 MB / 488.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.09321, allocations: 13.95 kB / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.09327, allocations: 40.38 kB / 488.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.09356, allocations: 326 kB / 488.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.09359, allocations: 8.375 kB / 488.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.09362, allocations: 4.375 kB / 488.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.09382, allocations: 109.8 kB / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.09384, allocations: 0 / 489 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.09386, allocations: 12 kB / 489.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.09387, allocations: 0 / 489.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.09404, allocations: 79.88 kB / 489.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.09461, allocations: 0.4923 MB / 489.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.09477, allocations: 90.55 kB / 489.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.09486, allocations: 36.83 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.09489, allocations: 4 kB / 489.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.09492, allocations: 34.56 kB / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.09492, allocations: 0 / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008454/0.09577, allocations: 412 kB / 490.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.09581, allocations: 51.41 kB / 490.2 MB, free: 12.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.09635, allocations: 0.5681 MB / 490.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.09638, allocations: 25.7 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.09651, allocations: 204.4 kB / 491 MB, free: 12.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.09656, allocations: 47.17 kB / 491.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.0966, allocations: 25.7 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.09671, allocations: 350.8 kB / 491.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.09684, allocations: 55.97 kB / 491.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.09695, allocations: 58.31 kB / 491.6 MB, free: 11.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.0972, allocations: 128.8 kB / 491.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.09721, allocations: 3.938 kB / 491.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003258/0.09754, allocations: 207.2 kB / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.09756, allocations: 4 kB / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.09757, allocations: 0 / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.09758, allocations: 0 / 491.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.09773, allocations: 43.98 kB / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.09774, allocations: 0 / 491.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.587e-05/0.09782, allocations: 19.83 kB / 492 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.09784, allocations: 11.94 kB / 492 MB, free: 11.05 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.000141/0.09799, allocations: 177.7 kB / 492.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.09805, allocations: 39.53 kB / 492.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.0985, allocations: 245.6 kB / 492.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.09851, allocations: 4 kB / 492.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.09852, allocations: 0 / 492.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.09853, allocations: 3.938 kB / 492.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007189/0.09925, allocations: 0.6366 MB / 493.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.09926, allocations: 0 / 493.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.09939, allocations: 43.91 kB / 493.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.0994, allocations: 0 / 493.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.09941, allocations: 4 kB / 493.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.09942, allocations: 4 kB / 493.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.09943, allocations: 3.938 kB / 493.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.09978, allocations: 301.8 kB / 493.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.09987, allocations: 124.6 kB / 493.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.0999, allocations: 4 kB / 493.5 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.1, allocations: 8 kB / 493.5 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1, allocations: 27.75 kB / 493.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1001, allocations: 4 kB / 493.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003838/0.1005, allocations: 419.1 kB / 494 MB, free: 8.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1005, allocations: 4 kB / 494 MB, free: 8.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1008, allocations: 47.98 kB / 494 MB, free: 8.871 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.001487/0.1022, allocations: 0.6897 MB / 494.7 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1025, allocations: 135.9 kB / 494.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1026, allocations: 0 / 494.9 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.1027, allocations: 87.89 kB / 494.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.1032, allocations: 72.36 kB / 495 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.1042, allocations: 0.8204 MB / 495.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1045, allocations: 0.8106 MB / 496.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1046, allocations: 45.91 kB / 496.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.1046, allocations: 31.42 kB / 496.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1047, allocations: 0 / 496.7 MB, free: 6.41 MB / 366.1 MB Notification: Performance of Templates: time 0.006078/0.1107, allocations: 3.105 MB / 499.8 MB, free: 3.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches