Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.000973/0.000973, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001057/0.001057, allocations: 164.4 kB / 24.91 MB, free: 8.719 MB / 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 0.9655/0.9655, allocations: 177 MB / 205.2 MB, free: 5.035 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.3096/0.3096, allocations: 34.87 MB / 296.6 MB, free: 480 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.641e-05, allocations: 2.312 kB / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002099/0.002115, allocations: 1.647 MB / 327.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006685/0.002784, allocations: 0.5329 MB / 328.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.967e-05/0.002824, allocations: 4 kB / 328.1 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.003244, allocations: 451 kB / 328.5 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003181/0.003562, allocations: 295.2 kB / 328.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.00375, allocations: 123.6 kB / 329 MB, free: 4.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.00391, allocations: 164.4 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.003976, allocations: 12.16 kB / 329.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.636e-05/0.004072, allocations: 123.7 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.004223, allocations: 199.6 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.004235, allocations: 0 / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.941e-05/0.004285, allocations: 23.94 kB / 329.5 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.004369, allocations: 87.69 kB / 329.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.004399, allocations: 35.75 kB / 329.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.004564, allocations: 175.2 kB / 329.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.004566, allocations: 3.984 kB / 329.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004567, allocations: 4 kB / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.004569, allocations: 0 / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004025/0.004972, allocations: 0.5463 MB / 330.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.005, allocations: 8.031 kB / 330.3 MB, free: 2.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.005032, allocations: 20.92 kB / 330.3 MB, free: 2.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.005206, allocations: 238.2 kB / 330.6 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.005213, allocations: 4.312 kB / 330.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.005223, allocations: 4.375 kB / 330.6 MB, free: 2.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.962e-05/0.005302, allocations: 54.94 kB / 330.6 MB, free: 2.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.005308, allocations: 4.188 kB / 330.6 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.005315, allocations: 8.359 kB / 330.7 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.005321, allocations: 4.125 kB / 330.7 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.4e-05/0.005335, allocations: 4 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.005535, allocations: 164.1 kB / 330.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.134e-05/0.005576, allocations: 18.58 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.005591, allocations: 12.91 kB / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.005605, allocations: 0 / 330.9 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.005626, allocations: 34.62 kB / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.005627, allocations: 0 / 330.9 MB, free: 2.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001121/0.005739, allocations: 65.55 kB / 330.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.005767, allocations: 51.41 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.006082, allocations: 0.5244 MB / 331.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-06/0.006091, allocations: 29.7 kB / 331.6 MB, free: 1.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.006147, allocations: 141.3 kB / 331.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.006162, allocations: 3.953 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.006183, allocations: 13.72 kB / 331.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.006275, allocations: 354.7 kB / 332.1 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.006282, allocations: 4 kB / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.006289, allocations: 0 / 332.1 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.148e-05/0.00631, allocations: 20.97 kB / 332.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006311, allocations: 0 / 332.1 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.622e-05/0.006358, allocations: 57.66 kB / 332.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.006368, allocations: 8 kB / 332.1 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.006371, allocations: 3.938 kB / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.00638, allocations: 0 / 332.1 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.031e-05/0.00642, allocations: 4 kB / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.006422, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.006442, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.006446, allocations: 0 / 332.1 MB, free: 0.7422 MB / 298.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 (2): * Single equations (assignments): 2 * 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 6.228e-05/0.006509, allocations: 120.7 kB / 332.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.006531, allocations: 19.97 kB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.932e-05/0.006611, allocations: 80.61 kB / 332.4 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-06/0.006612, allocations: 3.938 kB / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006613, allocations: 0 / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006616, allocations: 0 / 332.4 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.006725, allocations: 133.7 kB / 332.5 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.006727, allocations: 7.984 kB / 332.5 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.006744, allocations: 8 kB / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-07/0.006745, allocations: 0 / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-06/0.006748, allocations: 4.031 kB / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006749, allocations: 0 / 332.5 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.006751, allocations: 3.938 kB / 332.5 MB, free: 340 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.995e-05/0.00682, allocations: 155.5 kB / 332.7 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.006843, allocations: 35.75 kB / 332.7 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.006855, allocations: 0 / 332.7 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.39e-05/0.006889, allocations: 4 kB / 332.7 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.006897, allocations: 3.938 kB / 332.7 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.006899, allocations: 0 / 332.7 MB, free: 124 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.007073, allocations: 279.2 kB / 333 MB, free: 15.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007073, allocations: 4.031 kB / 333 MB, free: 15.84 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001277/0.007201, allocations: 23.89 kB / 333 MB, free: 15.82 MB / 314.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 (2): * Single equations (assignments): 2 * 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.0008457/0.008046, allocations: 423.4 kB / 333.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.513e-05/0.008091, allocations: 16.84 kB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.008096, allocations: 8 kB / 333.5 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.008104, allocations: 8.797 kB / 333.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.008263, allocations: 25.95 kB / 333.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.008764, allocations: 0.5549 MB / 334 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.62e-05/0.00883, allocations: 115.3 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.29e-05/0.008853, allocations: 8.984 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.008893, allocations: 55.38 kB / 334.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of SimCode: time 7.02e-07/0.008894, allocations: 0 / 334.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of Templates: time 0.0031/0.01199, allocations: 1.237 MB / 335.5 MB, free: 13.55 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.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: 2.9634522371925414]