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.001587/0.001587, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001241/0.001241, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9857/0.9857, allocations: 177 MB / 204.8 MB, free: 5.562 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.2696/0.2696, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.373e-06/1.373e-06, allocations: 0 / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.953e-05, allocations: 8.922 kB / 378.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00202/0.00204, allocations: 1.778 MB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.003584, allocations: 1.729 MB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.003649, allocations: 7.938 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.003915, allocations: 31.83 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.004214, allocations: 111.3 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.004375, allocations: 79.67 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.00452, allocations: 111.6 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.004603, allocations: 4 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.518e-05/0.004689, allocations: 55.78 kB / 382.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.004783, allocations: 39.89 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.004799, allocations: 4 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.004934, allocations: 111.7 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.007e-05/0.004984, allocations: 23.92 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.005021, allocations: 19.92 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.005238, allocations: 155.5 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.005241, allocations: 4 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005242, allocations: 0 / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.005246, allocations: 0 / 383.1 MB, free: 13.73 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.0004354/0.005682, allocations: 451.8 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.005715, allocations: 12.03 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.005761, allocations: 8.891 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.00593, allocations: 153 kB / 383.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.00595, allocations: 12.38 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.005975, allocations: 384 / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.006119, allocations: 116 kB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.00613, allocations: 7.891 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.006141, allocations: 3.984 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.006147, allocations: 0 / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.273e-05/0.00618, allocations: 8 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.006454, allocations: 279.8 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.789e-05/0.006551, allocations: 55.09 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.006581, allocations: 23.62 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.006595, allocations: 4 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.006705, allocations: 65.05 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.006706, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004025/0.007109, allocations: 153.3 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.007153, allocations: 81.09 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.007622, allocations: 219.2 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.007636, allocations: 29.7 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.007692, allocations: 138.9 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.00772, allocations: 31.78 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.007757, allocations: 31.38 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.007879, allocations: 0.4884 MB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.007905, allocations: 19.92 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.557e-05/0.007951, allocations: 68.75 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.008005, allocations: 51.3 kB / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008006, allocations: 0 / 385.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001029/0.008109, allocations: 97.52 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.008121, allocations: 4 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.008125, allocations: 4.062 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.008141, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/0.008207, allocations: 12 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.008213, allocations: 4.312 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.168e-05/0.008245, allocations: 7.984 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.008251, allocations: 4 kB / 385.7 MB, free: 10.87 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.038e-05/0.008322, allocations: 160.5 kB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.00834, allocations: 19.95 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.008482, allocations: 102.4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.008484, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.008487, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00849, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.008766, allocations: 392.9 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.008768, allocations: 4 kB / 386.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.008795, allocations: 11.98 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008796, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.008804, allocations: 4 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008806, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008806, allocations: 0 / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.008939, allocations: 255.4 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.278e-05/0.008952, allocations: 19.95 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.008969, allocations: 4 kB / 386.7 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.00901, allocations: 4 kB / 386.7 MB, free: 9.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.009042, allocations: 7.984 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.009055, allocations: 11.94 kB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.009124, allocations: 161.5 kB / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009124, allocations: 0 / 386.8 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.009317, allocations: 55.8 kB / 386.9 MB, free: 9.586 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.001114/0.01043, allocations: 0.53 MB / 387.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01058, allocations: 51.61 kB / 387.5 MB, free: 9.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.01058, allocations: 4 kB / 387.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.01063, allocations: 35.66 kB / 387.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01086, allocations: 27.97 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.01118, allocations: 205.9 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.01122, allocations: 63.34 kB / 387.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.01126, allocations: 17.09 kB / 387.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.01129, allocations: 24.48 kB / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01129, allocations: 0 / 387.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of Templates: time 0.004012/0.0153, allocations: 2.523 MB / 390.4 MB, free: 6.23 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.5054117352701724]