Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.001358/0.001358, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001716/0.001716, allocations: 157.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.494/1.494, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.2181/0.2181, allocations: 34.27 MB / 294.8 MB, free: 14.52 MB / 286.1 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 442.7 MB, free: 5.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.904e-05, allocations: 4.672 kB / 442.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003735/0.003764, allocations: 1.716 MB / 444.5 MB, free: 3.477 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.006826, allocations: 1.663 MB / 446.1 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.00695, allocations: 11.94 kB / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.007282, allocations: 39.7 kB / 446.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.007757, allocations: 95.53 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.008041, allocations: 79.59 kB / 446.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.008287, allocations: 107.6 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.008404, allocations: 19.91 kB / 446.5 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.008586, allocations: 55.78 kB / 446.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.00876, allocations: 35.89 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.008791, allocations: 4 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.009067, allocations: 107.8 kB / 446.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.009138, allocations: 19.94 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.009205, allocations: 23.91 kB / 446.7 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004638/0.009669, allocations: 183.4 kB / 446.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.009673, allocations: 0 / 446.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.009674, allocations: 0 / 446.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.009682, allocations: 4 kB / 446.9 MB, free: 1.031 MB / 366.1 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.0007752/0.01046, allocations: 349.4 kB / 447.2 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.0105, allocations: 12.03 kB / 447.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.01058, allocations: 8.891 kB / 447.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.01096, allocations: 146.2 kB / 447.4 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.01098, allocations: 8.375 kB / 447.4 MB, free: 476 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.01101, allocations: 8.312 kB / 447.4 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.01127, allocations: 97.59 kB / 447.5 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.01129, allocations: 11.92 kB / 447.5 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.01131, allocations: 0 / 447.5 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.01131, allocations: 0 / 447.5 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.01141, allocations: 23.98 kB / 447.5 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.01185, allocations: 224.6 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2683/0.2802, allocations: 62.64 kB / 447.8 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.2803, allocations: 24.86 kB / 447.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2803, allocations: 0 / 447.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.2805, allocations: 66.98 kB / 447.9 MB, free: 19.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.2805, allocations: 0 / 447.9 MB, free: 19.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006216/0.2811, allocations: 182 kB / 448.1 MB, free: 19.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.2812, allocations: 78.75 kB / 448.2 MB, free: 19.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.2813, allocations: 168.4 kB / 448.3 MB, free: 19.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.2814, allocations: 30.7 kB / 448.4 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.2814, allocations: 101.6 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.2814, allocations: 22.17 kB / 448.5 MB, free: 18.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.2815, allocations: 22.3 kB / 448.5 MB, free: 18.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.2815, allocations: 325.6 kB / 448.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.2816, allocations: 21.55 kB / 448.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.974e-05/0.2816, allocations: 76.45 kB / 448.9 MB, free: 18.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.2818, allocations: 69.19 kB / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2818, allocations: 0 / 449 MB, free: 18.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001802/0.2819, allocations: 96.73 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.282, allocations: 5.219 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.282, allocations: 0.75 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.282, allocations: 1.094 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.2821, allocations: 24.95 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2821, allocations: 2.047 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.263e-05/0.2821, allocations: 6.875 kB / 449.1 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2821, allocations: 5.641 kB / 449.1 MB, free: 18.49 MB / 366.1 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.346e-05/0.2822, allocations: 128.5 kB / 449.3 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.2822, allocations: 14.41 kB / 449.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.2825, allocations: 116 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2825, allocations: 0 / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2825, allocations: 2.125 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2825, allocations: 1.031 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.2829, allocations: 355.9 kB / 449.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.2829, allocations: 1.156 kB / 449.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.2829, allocations: 16.75 kB / 449.7 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2829, allocations: 1.281 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.2829, allocations: 1.812 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.2829, allocations: 1.719 kB / 449.8 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.2829, allocations: 4.594 kB / 449.8 MB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.2831, allocations: 214.7 kB / 450 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.2832, allocations: 16.05 kB / 450 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.2832, allocations: 7.672 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.2833, allocations: 2.297 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.2833, allocations: 10.61 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.2833, allocations: 4.062 kB / 450 MB, free: 17.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.366e-05/0.2834, allocations: 133.5 kB / 450.1 MB, free: 17.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2834, allocations: 0 / 450.1 MB, free: 17.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.2837, allocations: 46.84 kB / 450.2 MB, free: 17.75 MB / 366.1 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.002123/0.2858, allocations: 0.5829 MB / 450.8 MB, free: 17.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.2861, allocations: 57.2 kB / 450.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2861, allocations: 0 / 450.8 MB, free: 17.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.478e-05/0.2862, allocations: 34.67 kB / 450.9 MB, free: 17.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.2865, allocations: 31.89 kB / 450.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.287, allocations: 206.8 kB / 451.1 MB, free: 17.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.2871, allocations: 92.91 kB / 451.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.036e-05/0.2871, allocations: 20.33 kB / 451.2 MB, free: 17.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.2872, allocations: 21.7 kB / 451.2 MB, free: 17.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2872, allocations: 1.422 kB / 451.2 MB, free: 17.24 MB / 366.1 MB Notification: Performance of Templates: time 0.00647/0.2937, allocations: 2.517 MB / 453.7 MB, free: 16.91 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.049604032188654]