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.000978/0.000978, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001213/0.001213, allocations: 164.6 kB / 24.99 MB, free: 9.32 MB / 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 1.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2845/0.2845, allocations: 32.81 MB / 294.6 MB, free: 1.293 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 1.824e-06/1.824e-06, allocations: 0 / 376.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.636e-05, allocations: 2.312 kB / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005335/0.005362, allocations: 2.047 MB / 378.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00738/0.01274, allocations: 1.083 MB / 379.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.0129, allocations: 7.938 kB / 379.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.01323, allocations: 43.64 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.01362, allocations: 119.3 kB / 379.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.01391, allocations: 107.6 kB / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.0142, allocations: 219.2 kB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.01432, allocations: 21.8 kB / 379.7 MB, free: 1.238 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.01449, allocations: 107.7 kB / 379.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.0146, allocations: 63.8 kB / 379.9 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.01463, allocations: 12 kB / 379.9 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.01474, allocations: 51.92 kB / 380 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.644e-05/0.01481, allocations: 39.83 kB / 380 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.01488, allocations: 47.84 kB / 380 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.01515, allocations: 175.2 kB / 380.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.01516, allocations: 4 kB / 380.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01516, allocations: 4 kB / 380.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.01516, allocations: 0 / 380.2 MB, free: 0.7422 MB / 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.003475/0.01864, allocations: 0.5731 MB / 380.8 MB, free: 124 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.01868, allocations: 8.031 kB / 380.8 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.01876, allocations: 36.78 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.01903, allocations: 188.1 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.01906, allocations: 12.36 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.01909, allocations: 4.375 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/0.01938, allocations: 173.5 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.01939, allocations: 3.938 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.01941, allocations: 0 / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01941, allocations: 4 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.01951, allocations: 35.91 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.02009, allocations: 0.6067 MB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.02036, allocations: 91.12 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.02042, allocations: 35.67 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.02044, allocations: 3.938 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.02062, allocations: 130.6 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/0.02063, allocations: 0 / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003007/0.02093, allocations: 141.5 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.02096, allocations: 59.34 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.02113, allocations: 270.7 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.02115, allocations: 29.7 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.02123, allocations: 175 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.02126, allocations: 43.81 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.02131, allocations: 43.31 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.02142, allocations: 0.5039 MB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.0215, allocations: 49.69 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.02159, allocations: 104.1 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.02172, allocations: 116.1 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.02172, allocations: 7.984 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002196/0.02194, allocations: 196.9 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.02198, allocations: 37.69 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.02198, allocations: 0 / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.022, allocations: 4 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.0221, allocations: 35.92 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.02211, allocations: 4 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-05/0.0222, allocations: 23.88 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.02221, allocations: 8 kB / 383.9 MB, free: 12.68 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 0.0001097/0.02232, allocations: 181.1 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.02235, allocations: 23.86 kB / 384.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.02255, allocations: 135 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.02256, allocations: 7.984 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.02256, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02256, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.02269, allocations: 180.4 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02269, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-05/0.02277, allocations: 19.98 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.02277, allocations: 0 / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.02278, allocations: 8 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.02279, allocations: 0 / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.02279, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.02304, allocations: 203.5 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.122e-05/0.02306, allocations: 15.86 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.02308, allocations: 4 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-05/0.02315, allocations: 19.97 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/0.0232, allocations: 19.91 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.02322, allocations: 4 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.02332, allocations: 193.8 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02332, allocations: 0 / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.02351, allocations: 39.92 kB / 385 MB, free: 11.58 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.000855/0.02436, allocations: 388.5 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.02459, allocations: 168.6 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02459, allocations: 0 / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.02466, allocations: 43.67 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.0249, allocations: 67.17 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.02542, allocations: 310.8 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.349e-05/0.02547, allocations: 80 kB / 386 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.02553, allocations: 21.48 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.02558, allocations: 24.48 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02558, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005254/0.03084, allocations: 3.094 MB / 389.1 MB, free: 7.523 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: 3.279672989854589]