Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001481/0.001481, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001544/0.001544, allocations: 164.7 kB / 24.82 MB, free: 9.324 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.9862/0.9862, allocations: 177 MB / 205.1 MB, free: 5.488 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.2567/0.2567, allocations: 34.86 MB / 296.6 MB, free: 0.5156 MB / 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.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 379.3 MB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.039e-05, allocations: 2.312 kB / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002626/0.002656, allocations: 1.752 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001846/0.004502, allocations: 1.733 MB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.004578, allocations: 0 / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.004873, allocations: 35.77 kB / 382.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.005164, allocations: 111.3 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.005297, allocations: 75.66 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.005439, allocations: 111.6 kB / 383.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.005535, allocations: 15.98 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.427e-05/0.005629, allocations: 55.83 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005738, allocations: 35.89 kB / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.005758, allocations: 4 kB / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.005917, allocations: 107.8 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.788e-05/0.005965, allocations: 23.86 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.005996, allocations: 19.92 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.006198, allocations: 155.5 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006201, allocations: 0 / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006202, allocations: 0 / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.006206, allocations: 0 / 383.5 MB, free: 13.51 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004314/0.006637, allocations: 459.7 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.006674, allocations: 12.03 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.006707, allocations: 12.89 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.006889, allocations: 149 kB / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.006904, allocations: 4.359 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.006922, allocations: 8.359 kB / 384.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.007054, allocations: 104 kB / 384.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.007066, allocations: 11.83 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.007073, allocations: 4 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.007078, allocations: 0 / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.528e-05/0.007103, allocations: 15.98 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002405/0.007344, allocations: 248.5 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.007427, allocations: 51.16 kB / 384.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.00745, allocations: 23.61 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.007466, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.172e-05/0.007558, allocations: 68.98 kB / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.007559, allocations: 0 / 384.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003366/0.007896, allocations: 137.4 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.00794, allocations: 81.11 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.008076, allocations: 219.2 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.008089, allocations: 25.7 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.008149, allocations: 142.9 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.00818, allocations: 27.78 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.008215, allocations: 31.36 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.008328, allocations: 0.4923 MB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.008344, allocations: 11.92 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.008392, allocations: 69.06 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.008441, allocations: 47.39 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.008443, allocations: 0 / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001025/0.008545, allocations: 93.47 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.008557, allocations: 4 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.008561, allocations: 0 / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.008574, allocations: 4 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.008635, allocations: 15.98 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.008644, allocations: 0 / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.008674, allocations: 4 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.00868, allocations: 4 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.412e-05/0.008754, allocations: 174.9 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.008771, allocations: 15.89 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.008898, allocations: 98.39 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008899, allocations: 0 / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.008902, allocations: 3.984 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008905, allocations: 0 / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.009151, allocations: 361.6 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.009154, allocations: 3.984 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.009181, allocations: 8 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.009184, allocations: 4.031 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.00919, allocations: 4 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.009191, allocations: 0 / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.009193, allocations: 0 / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.009322, allocations: 255.4 kB / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.009334, allocations: 11.94 kB / 387 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.00935, allocations: 4 kB / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.073e-05/0.00939, allocations: 0 / 387 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.009416, allocations: 11.98 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.009426, allocations: 4 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.854e-05/0.009485, allocations: 157.6 kB / 387.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009485, allocations: 4 kB / 387.2 MB, free: 9.547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001953/0.00968, allocations: 51.8 kB / 387.2 MB, free: 9.496 MB / 362.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001124/0.0108, allocations: 0.5378 MB / 387.8 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.01091, allocations: 39.67 kB / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01091, allocations: 0 / 387.8 MB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.01094, allocations: 31.59 kB / 387.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.01115, allocations: 43.83 kB / 387.9 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.01145, allocations: 202.1 kB / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.01148, allocations: 63.34 kB / 388.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.263e-05/0.01153, allocations: 24.91 kB / 388.2 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/0.01161, allocations: 98.17 kB / 388.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01161, allocations: 0 / 388.3 MB, free: 8.559 MB / 362.7 MB Notification: Performance of Templates: time 0.004469/0.01608, allocations: 2.786 MB / 391 MB, free: 5.812 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.090249414090067]