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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009451/0.0009451, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009538/0.0009538, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.026/1.026, allocations: 177 MB / 204.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2692/0.2692, allocations: 34.87 MB / 296.3 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|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=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.33e-05, allocations: 2.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.008528/0.008562, allocations: 2.046 MB / 380.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00594/0.0145, allocations: 1.008 MB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.01478, allocations: 4 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.01548, allocations: 263 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008441/0.01633, allocations: 262.9 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.0178, allocations: 482.8 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007371/0.01853, allocations: 331.1 kB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002738/0.01881, allocations: 44.91 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.0192, allocations: 179.4 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.01959, allocations: 203.5 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.454e-05/0.01965, allocations: 16 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002854/0.01994, allocations: 71.84 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.02012, allocations: 95.67 kB / 383.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.157e-05/0.02021, allocations: 55.66 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005917/0.02081, allocations: 250.9 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.02081, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.02082, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.02083, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 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.0009298/0.02176, allocations: 0.6854 MB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.02181, allocations: 8.031 kB / 384.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.02193, allocations: 60.59 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.02231, allocations: 270.7 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.02232, allocations: 8.375 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.02237, allocations: 16.33 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.0226, allocations: 97.09 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.02262, allocations: 4.188 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.02263, allocations: 4.375 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.02264, allocations: 4.375 kB / 385.2 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.02274, allocations: 39.91 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.02344, allocations: 479.2 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.0236, allocations: 82.83 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.02365, allocations: 27.67 kB / 385.8 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.02369, allocations: 4 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.02372, allocations: 33.39 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.02372, allocations: 0 / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008621/0.02458, allocations: 324.7 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.02463, allocations: 51.41 kB / 386.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.02523, allocations: 490.7 kB / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.02526, allocations: 25.7 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.02546, allocations: 263.2 kB / 387 MB, free: 9.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.02553, allocations: 59.55 kB / 387 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-05/0.02559, allocations: 39.36 kB / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.02581, allocations: 0.5313 MB / 387.6 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.02587, allocations: 23.98 kB / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.02594, allocations: 31.83 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.02609, allocations: 78.33 kB / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.02609, allocations: 0 / 387.7 MB, free: 8.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002875/0.02638, allocations: 161.3 kB / 387.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.02641, allocations: 4 kB / 387.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.02642, allocations: 4 kB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.02644, allocations: 3.938 kB / 387.9 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.02661, allocations: 39.91 kB / 387.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.02662, allocations: 4 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.02667, allocations: 3.938 kB / 387.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.02668, allocations: 8 kB / 388 MB, free: 8.641 MB / 362.7 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.0001034/0.02678, allocations: 160.6 kB / 388.1 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.02684, allocations: 47.72 kB / 388.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.02741, allocations: 180.2 kB / 388.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.02741, allocations: 7.938 kB / 388.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.02742, allocations: 0 / 388.3 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.02743, allocations: 7.984 kB / 388.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.028, allocations: 0.5557 MB / 388.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.028, allocations: 0 / 388.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.02809, allocations: 31.98 kB / 388.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.02809, allocations: 0 / 388.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.0281, allocations: 8 kB / 388.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.02811, allocations: 7.938 kB / 388.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.02811, allocations: 0 / 388.9 MB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.02835, allocations: 318.1 kB / 389.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.02838, allocations: 27.77 kB / 389.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.0284, allocations: 12 kB / 389.3 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.029e-05/0.02845, allocations: 3.984 kB / 389.3 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.0285, allocations: 15.98 kB / 389.3 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.02851, allocations: 4 kB / 389.3 MB, free: 7.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.02873, allocations: 323 kB / 389.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.02873, allocations: 0 / 389.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.02895, allocations: 51.89 kB / 389.7 MB, free: 6.832 MB / 362.7 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.001777/0.03073, allocations: 0.652 MB / 390.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.03098, allocations: 91.55 kB / 390.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.03098, allocations: 0 / 390.4 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.03104, allocations: 63.59 kB / 390.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.03144, allocations: 92.05 kB / 390.6 MB, free: 6.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008601/0.0323, allocations: 0.5783 MB / 391.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.387e-05/0.03239, allocations: 112.3 kB / 391.3 MB, free: 5.426 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.03249, allocations: 49.89 kB / 391.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.03255, allocations: 36.48 kB / 391.4 MB, free: 5.344 MB / 362.7 MB Notification: Performance of SimCode: time 1.863e-06/0.03256, allocations: 0 / 391.4 MB, free: 5.344 MB / 362.7 MB Notification: Performance of Templates: time 0.006655/0.03921, allocations: 3.339 MB / 394.7 MB, free: 2.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5590582503937185]