Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008184/0.0008185, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0009121/0.0009121, allocations: 172.7 kB / 15.95 MB, free: 204 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.289/1.289, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2742/0.2742, allocations: 38.04 MB / 308.4 MB, free: 10.39 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.1. 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.0005099/0.00051, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09518, allocations: 57.52 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002285/0.0975, allocations: 1.648 MB / 435.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.09886, allocations: 0.8355 MB / 436.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.09902, allocations: 0 / 436.5 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.09931, allocations: 43.77 kB / 436.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.09953, allocations: 51.7 kB / 436.5 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.09985, allocations: 107.8 kB / 436.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.1001, allocations: 171.4 kB / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.1002, allocations: 25.66 kB / 436.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1003, allocations: 71.62 kB / 436.9 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.767e-05/0.1004, allocations: 71.67 kB / 437 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1004, allocations: 4 kB / 437 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.1005, allocations: 36 kB / 437 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.1006, allocations: 31.84 kB / 437.1 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.1006, allocations: 45.64 kB / 437.1 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1008, allocations: 140 kB / 437.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1008, allocations: 0 / 437.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1008, allocations: 0 / 437.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1008, allocations: 0 / 437.2 MB, free: 2.266 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007387/0.1016, allocations: 0.5409 MB / 437.8 MB, free: 1.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.1016, allocations: 15.97 kB / 437.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1017, allocations: 23.75 kB / 437.8 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1019, allocations: 235.6 kB / 438 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1019, allocations: 11.94 kB / 438.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.102, allocations: 8 kB / 438.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.1023, allocations: 164.1 kB / 438.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1024, allocations: 0 / 438.2 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1024, allocations: 8 kB / 438.2 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1024, allocations: 4 kB / 438.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.1028, allocations: 143.8 kB / 438.4 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.1034, allocations: 0.5361 MB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.1039, allocations: 190.5 kB / 439.1 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.1042, allocations: 84.8 kB / 439.2 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1042, allocations: 0 / 439.2 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000358/0.1046, allocations: 151.2 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.634e-06/0.1046, allocations: 7.875 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007452/0.1053, allocations: 289.2 kB / 439.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1054, allocations: 59.41 kB / 439.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.1056, allocations: 219.2 kB / 439.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.1056, allocations: 29.7 kB / 439.9 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.1057, allocations: 124.3 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1057, allocations: 43.58 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.1057, allocations: 0 / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.1059, allocations: 330.8 kB / 440.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.1061, allocations: 79.94 kB / 440.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.1063, allocations: 120.2 kB / 440.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.1066, allocations: 117.6 kB / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1066, allocations: 0 / 440.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005789/0.1072, allocations: 275 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.1072, allocations: 33.64 kB / 441 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1072, allocations: 0 / 441 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1073, allocations: 4 kB / 441 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.1074, allocations: 44.09 kB / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1074, allocations: 0 / 441.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.1076, allocations: 39.81 kB / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1076, allocations: 4 kB / 441.1 MB, free: 14.1 MB / 382.1 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 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.1078, allocations: 143.5 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1078, allocations: 19.81 kB / 441.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.1079, allocations: 21.39 kB / 441.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1079, allocations: 3.938 kB / 441.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1079, allocations: 0 / 441.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1079, allocations: 0 / 441.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1081, allocations: 245.4 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1081, allocations: 7.891 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1082, allocations: 31.98 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1082, allocations: 0 / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.1083, allocations: 3.984 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1083, allocations: 4 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1083, allocations: 0 / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.109, allocations: 349.1 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.1091, allocations: 92.91 kB / 442 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1091, allocations: 7.938 kB / 442 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.1093, allocations: 32.03 kB / 442 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.1093, allocations: 19.97 kB / 442.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.1094, allocations: 7.984 kB / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1095, allocations: 160.6 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1095, allocations: 0 / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1098, allocations: 43.98 kB / 442.3 MB, free: 12.83 MB / 382.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008032/0.1106, allocations: 409.8 kB / 442.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.1111, allocations: 247.2 kB / 442.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1111, allocations: 0 / 442.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.1114, allocations: 91.88 kB / 443 MB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.1117, allocations: 48.06 kB / 443.1 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.1123, allocations: 357.9 kB / 443.4 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1126, allocations: 0.7205 MB / 444.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.678e-05/0.1127, allocations: 25.53 kB / 444.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.1127, allocations: 19.44 kB / 444.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1127, allocations: 0 / 444.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of Templates: time 0.004711/0.1174, allocations: 2.497 MB / 446.7 MB, free: 8.406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: