Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.001123/0.001123, allocations: 91.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.001469/0.001469, allocations: 156.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.9826/0.9826, allocations: 177 MB / 204.8 MB, free: 5.566 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.2724/0.2724, allocations: 34.87 MB / 296.3 MB, free: 0.543 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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 378.8 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.373e-05, allocations: 8.562 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003026/0.003049, allocations: 1.765 MB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.00443, allocations: 1.02 MB / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.004508, allocations: 0 / 381.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.004763, allocations: 55.69 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.00503, allocations: 107.5 kB / 381.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.005181, allocations: 71.69 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.00531, allocations: 115.6 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.736e-05/0.005377, allocations: 4 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.389e-05/0.005451, allocations: 59.77 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.00551, allocations: 23.91 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.005524, allocations: 4 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.228e-05/0.005596, allocations: 43.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.005645, allocations: 35.84 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.00568, allocations: 23.92 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.005837, allocations: 111.6 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005838, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005839, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.005861, allocations: 0 / 382.3 MB, free: 14.53 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.0004607/0.006321, allocations: 483.6 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.006361, allocations: 8.031 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.006402, allocations: 16.84 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.006562, allocations: 165.2 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.006578, allocations: 384 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.006601, allocations: 8.375 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.006708, allocations: 66.92 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.006717, allocations: 4.188 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.006725, allocations: 8.312 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.006733, allocations: 3.938 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.006767, allocations: 15.92 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.007042, allocations: 299.8 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.519e-05/0.007137, allocations: 47.17 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.007165, allocations: 15.69 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.007177, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.669e-05/0.007264, allocations: 76.92 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.007265, allocations: 0 / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003672/0.007632, allocations: 177.2 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.007657, allocations: 51.41 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.007809, allocations: 273.6 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.007823, allocations: 29.7 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.27e-05/0.007885, allocations: 166.9 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.007912, allocations: 27.78 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.007943, allocations: 23.38 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.008059, allocations: 0.5001 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.008084, allocations: 19.98 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.00812, allocations: 35.36 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.106e-05/0.008181, allocations: 47.31 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.008182, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001215/0.008303, allocations: 101.5 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.008315, allocations: 7.938 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.00832, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.008333, allocations: 0 / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.008401, allocations: 16 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.008406, allocations: 4.031 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.008436, allocations: 7.984 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.008441, allocations: 4 kB / 384.9 MB, free: 11.63 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.235e-05/0.008514, allocations: 162.8 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.008533, allocations: 19.84 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.008682, allocations: 111 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.008684, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.008687, allocations: 4 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.00869, allocations: 384 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.008956, allocations: 405 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.008959, allocations: 11.94 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.008982, allocations: 8 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008984, allocations: 3.938 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.008993, allocations: 7.984 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.008995, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008996, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.009135, allocations: 263.4 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.009148, allocations: 15.91 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.009163, allocations: 0 / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.919e-05/0.009212, allocations: 4.031 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.009239, allocations: 11.98 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.009251, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.009341, allocations: 192.5 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009341, allocations: 0 / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.00951, allocations: 31.92 kB / 386.2 MB, free: 10.32 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.0008566/0.01037, allocations: 434.2 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01048, allocations: 59.47 kB / 386.7 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01048, allocations: 4.062 kB / 386.7 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.127e-05/0.01052, allocations: 35.61 kB / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01075, allocations: 31.73 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.01112, allocations: 258.5 kB / 387 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.343e-05/0.01117, allocations: 71.33 kB / 387.1 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.579e-05/0.01121, allocations: 25.27 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.01124, allocations: 16.5 kB / 387.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01124, allocations: 4.062 kB / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of Templates: time 0.003402/0.01464, allocations: 1.874 MB / 389 MB, free: 7.621 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.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.289252699818462]