Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001129, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2774/0.2774, allocations: 39.99 MB / 310.4 MB, free: 9.578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005018, allocations: 12 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09333/0.09384, allocations: 57.95 MB / 436.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001766/0.09564, allocations: 1.374 MB / 438.1 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.09684, allocations: 0.7383 MB / 438.9 MB, free: 188 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.24e-05/0.09693, allocations: 0 / 438.9 MB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.09721, allocations: 31.83 kB / 438.9 MB, free: 156 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.0974, allocations: 43.88 kB / 439 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.09767, allocations: 79.78 kB / 439 MB, free: 32 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.09784, allocations: 55.95 kB / 439.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.09795, allocations: 16.2 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.09804, allocations: 39.77 kB / 439.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.449e-05/0.09811, allocations: 27.84 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.09813, allocations: 7.938 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.034e-05/0.09823, allocations: 27.92 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.178e-05/0.09828, allocations: 19.92 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.09833, allocations: 37.64 kB / 439.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.09847, allocations: 80.09 kB / 439.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.09848, allocations: 0 / 439.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.09849, allocations: 8 kB / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.0985, allocations: 0 / 439.3 MB, free: 15.71 MB / 382.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.000477/0.09898, allocations: 402.8 kB / 439.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.09902, allocations: 8.031 kB / 439.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.09907, allocations: 7.906 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.09928, allocations: 206.8 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.09931, allocations: 0 / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.09933, allocations: 4 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.09947, allocations: 57.67 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.09948, allocations: 0 / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.0995, allocations: 7.969 kB / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.09951, allocations: 3.953 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.906e-05/0.09958, allocations: 20 kB / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.09989, allocations: 284.9 kB / 440.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1, allocations: 62.62 kB / 440.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.1001, allocations: 0 / 440.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1002, allocations: 75.38 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1002, allocations: 0 / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004519/0.1007, allocations: 165.3 kB / 440.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1007, allocations: 51.41 kB / 440.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.1009, allocations: 190.1 kB / 440.9 MB, free: 14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1009, allocations: 25.7 kB / 440.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.101, allocations: 112.1 kB / 441 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.101, allocations: 19.72 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.101, allocations: 0 / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1012, allocations: 318.8 kB / 441.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.1012, allocations: 27.92 kB / 441.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.1013, allocations: 33.7 kB / 441.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.1014, allocations: 24 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1014, allocations: 4 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001833/0.1016, allocations: 105.7 kB / 441.5 MB, free: 13.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1016, allocations: 7.953 kB / 441.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1016, allocations: 3.938 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1016, allocations: 4 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.1017, allocations: 15.94 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1017, allocations: 0 / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.1018, allocations: 12.02 kB / 441.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.1018, allocations: 0 / 441.6 MB, free: 13.27 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.1019, allocations: 129.6 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.1019, allocations: 7.906 kB / 441.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.102, allocations: 24.59 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.102, allocations: 4 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.102, allocations: 0 / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.102, allocations: 0 / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.1024, allocations: 399.3 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1024, allocations: 0 / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.1025, allocations: 11.98 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1025, allocations: 0 / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1025, allocations: 4 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1025, allocations: 80 / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1025, allocations: 4.359 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.1027, allocations: 214 kB / 442.3 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.1028, allocations: 92.91 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1028, allocations: 12 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.19e-05/0.1029, allocations: 0 / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.1029, allocations: 11.92 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.103, allocations: 4 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.861e-05/0.1031, allocations: 144.1 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1031, allocations: 0 / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1033, allocations: 27.98 kB / 442.6 MB, free: 12.1 MB / 382.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009175/0.1042, allocations: 468.7 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.1044, allocations: 59.91 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1044, allocations: 0 / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.45e-05/0.1045, allocations: 28 kB / 443.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1048, allocations: 27.92 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.1051, allocations: 238.5 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1054, allocations: 0.7043 MB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.336e-05/0.1055, allocations: 21.17 kB / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1055, allocations: 23.42 kB / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1055, allocations: 0 / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.003662/0.1092, allocations: 1.572 MB / 445.8 MB, free: 8.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) Environment - environmentSimulation: