Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009717/0.0009717, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9395/0.9395, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2561/0.2561, allocations: 32.8 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 3.984 kB / 376.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.094e-05, allocations: 6.25 kB / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002362/0.002383, allocations: 2.051 MB / 378.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.003613, allocations: 1.091 MB / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.003698, allocations: 0 / 379.2 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002824/0.003981, allocations: 51.58 kB / 379.3 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.004248, allocations: 119.3 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.004416, allocations: 111.6 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.00463, allocations: 211.3 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.004723, allocations: 17.81 kB / 379.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.004846, allocations: 115.6 kB / 379.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-05/0.004938, allocations: 59.8 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.00497, allocations: 12 kB / 379.9 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.005055, allocations: 55.92 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.005113, allocations: 43.83 kB / 380 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.005174, allocations: 47.84 kB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.005387, allocations: 167.3 kB / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005389, allocations: 0 / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00539, allocations: 0 / 380.2 MB, free: 436 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005394, allocations: 3.984 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006424/0.006037, allocations: 0.5847 MB / 380.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.006068, allocations: 8.031 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.006127, allocations: 36.78 kB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.006329, allocations: 184.2 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.006347, allocations: 8.375 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.006371, allocations: 8.375 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.0066, allocations: 171.6 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.006608, allocations: 3.938 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.006621, allocations: 4 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.006629, allocations: 4 kB / 381.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.006705, allocations: 39.91 kB / 381.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.007156, allocations: 0.6029 MB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.007375, allocations: 87.09 kB / 382 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.609e-05/0.007431, allocations: 27.67 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.007446, allocations: 4 kB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.007587, allocations: 126.6 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.007589, allocations: 4 kB / 382.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002602/0.007849, allocations: 149.5 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.007881, allocations: 55.41 kB / 382.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.00804, allocations: 266.7 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/0.008084, allocations: 33.64 kB / 382.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.008161, allocations: 175 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.00819, allocations: 39.86 kB / 382.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.008237, allocations: 47.31 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.008342, allocations: 0.5039 MB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.008398, allocations: 49.69 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.008522, allocations: 100.1 kB / 383.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.008631, allocations: 128 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.008633, allocations: 0 / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002079/0.008841, allocations: 200.2 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.008865, allocations: 33.7 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.00887, allocations: 3.984 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.008884, allocations: 4 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.00898, allocations: 36.05 kB / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008984, allocations: 0 / 383.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.056e-05/0.009055, allocations: 27.88 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.009066, allocations: 4 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.068e-05/0.009146, allocations: 181 kB / 384.1 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.009171, allocations: 27.84 kB / 384.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.009347, allocations: 131.1 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.009349, allocations: 0 / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009352, allocations: 0 / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.009357, allocations: 11.98 kB / 384.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.009465, allocations: 176.5 kB / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.009466, allocations: 0 / 384.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.009533, allocations: 23.92 kB / 384.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009535, allocations: 4 kB / 384.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.009547, allocations: 3.984 kB / 384.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.009548, allocations: 0 / 384.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.009549, allocations: 0 / 384.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.009766, allocations: 200.2 kB / 384.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.009787, allocations: 19.86 kB / 384.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.009806, allocations: 7.969 kB / 384.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.954e-05/0.009866, allocations: 15.98 kB / 384.7 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.009914, allocations: 15.97 kB / 384.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.009928, allocations: 11.98 kB / 384.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.01002, allocations: 185.8 kB / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01002, allocations: 0 / 385 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001583/0.01018, allocations: 43.92 kB / 385 MB, free: 11.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008537/0.01103, allocations: 386.8 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.01122, allocations: 171.4 kB / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.01122, allocations: 0 / 385.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.0113, allocations: 47.61 kB / 385.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.01152, allocations: 60.09 kB / 385.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.01193, allocations: 302.6 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01197, allocations: 84 kB / 386 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.01204, allocations: 17.48 kB / 386 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.01209, allocations: 20.5 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01209, allocations: 4 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Templates: time 0.004717/0.01681, allocations: 3.321 MB / 389.4 MB, free: 6.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9857496856711805]