Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.001416/0.001416, allocations: 84.34 kB / 22.21 MB, free: 2.281 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.001665/0.001665, allocations: 163.1 kB / 25.61 MB, free: 8.574 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.9504/0.9504, allocations: 177 MB / 205.9 MB, free: 4.461 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.145/0.145, allocations: 34.87 MB / 297.4 MB, free: 13.36 MB / 282.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.503e-05, allocations: 3.719 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001961/0.001986, allocations: 1.646 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.002644, allocations: 0.5369 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.002701, allocations: 3.938 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.002944, allocations: 87.69 kB / 382.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.003161, allocations: 111.5 kB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.003362, allocations: 95.7 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003492, allocations: 91.67 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.003579, allocations: 11.98 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.003639, allocations: 43.89 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.369e-05/0.003723, allocations: 59.86 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.003735, allocations: 0 / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.04e-05/0.003806, allocations: 47.92 kB / 382.8 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.937e-05/0.003845, allocations: 19.92 kB / 382.8 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.003867, allocations: 15.92 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.003995, allocations: 99.53 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.003999, allocations: 0 / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004, allocations: 4 kB / 382.9 MB, free: 19.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004004, allocations: 0 / 382.9 MB, free: 19.87 MB / 314.7 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.0002981/0.004302, allocations: 447.8 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.004335, allocations: 8.031 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.004365, allocations: 12.89 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.004465, allocations: 152.4 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.086e-06/0.004473, allocations: 4.375 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.004489, allocations: 4.375 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.788e-05/0.004577, allocations: 74.83 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.004587, allocations: 192 / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.004594, allocations: 4.375 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.004599, allocations: 384 / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.375e-05/0.004622, allocations: 11.94 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.004864, allocations: 264.4 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.406e-05/0.004918, allocations: 42.98 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.004933, allocations: 11.78 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.00495, allocations: 3.984 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.004966, allocations: 37.33 kB / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.004967, allocations: 0 / 383.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004377/0.005404, allocations: 165.3 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.005427, allocations: 51.41 kB / 384.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/0.005521, allocations: 241.8 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-06/0.005526, allocations: 29.64 kB / 384.4 MB, free: 18.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.005561, allocations: 166.8 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.005578, allocations: 23.75 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.005607, allocations: 31.34 kB / 384.6 MB, free: 17.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.005659, allocations: 0.4962 MB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.005671, allocations: 8 kB / 385.1 MB, free: 17.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.312e-05/0.005684, allocations: 7.984 kB / 385.2 MB, free: 17.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.218e-05/0.005716, allocations: 35.67 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.005717, allocations: 0 / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.403e-05/0.005781, allocations: 69.58 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.005791, allocations: 5.875 kB / 385.3 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.005795, allocations: 4 kB / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.005804, allocations: 0 / 385.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.005858, allocations: 19.92 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.00586, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.005878, allocations: 4 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.005883, allocations: 4 kB / 385.3 MB, free: 17.27 MB / 314.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 (8): * Single equations (assignments): 8 * 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 3.95e-05/0.005923, allocations: 164.6 kB / 385.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.005944, allocations: 15.84 kB / 385.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.00604, allocations: 91.36 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006043, allocations: 8 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006044, allocations: 0 / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006047, allocations: 0 / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.006248, allocations: 353.5 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.006249, allocations: 0 / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.006281, allocations: 15.98 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006283, allocations: 7.969 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.006288, allocations: 4.422 kB / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006288, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.00629, allocations: 0 / 385.9 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.284e-05/0.006362, allocations: 239.4 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.006371, allocations: 7.953 kB / 386.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.006381, allocations: 3.984 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.295e-05/0.006414, allocations: 7.984 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.006433, allocations: 7.984 kB / 386.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.006436, allocations: 4 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.12e-05/0.006478, allocations: 167.1 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006478, allocations: 4 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.006657, allocations: 19.94 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008837/0.007541, allocations: 417 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.92e-05/0.00762, allocations: 47.59 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.007621, allocations: 0 / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.121e-05/0.007643, allocations: 31.59 kB / 386.9 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.007832, allocations: 20.23 kB / 386.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.008082, allocations: 239.8 kB / 387.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.432e-05/0.008107, allocations: 71.2 kB / 387.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.824e-05/0.008135, allocations: 16.72 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.008177, allocations: 82.19 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.008177, allocations: 0 / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of Templates: time 0.002696/0.01087, allocations: 1.537 MB / 388.8 MB, free: 13.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.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.410538596101105]