Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009218/0.0009219, allocations: 98.77 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.0009391/0.0009391, allocations: 177.3 kB / 15.94 MB, free: 228 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.315/1.315, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.289/0.289, allocations: 39.99 MB / 310.4 MB, free: 9.934 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.000529/0.0005291, allocations: 12 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 57.96 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002085/0.1108, allocations: 1.378 MB / 438.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1119, allocations: 0.7421 MB / 438.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.953e-05/0.112, allocations: 0 / 438.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1123, allocations: 35.83 kB / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.1125, allocations: 55.86 kB / 439 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.1127, allocations: 75.78 kB / 439.1 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.113, allocations: 59.86 kB / 439.1 MB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.1131, allocations: 12.22 kB / 439.1 MB, free: 240 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.552e-05/0.1132, allocations: 39.84 kB / 439.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.1133, allocations: 35.83 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1133, allocations: 0 / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1134, allocations: 27.94 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.1134, allocations: 31.91 kB / 439.3 MB, free: 104 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1135, allocations: 37.64 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1137, allocations: 100.1 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1137, allocations: 0 / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1137, allocations: 0 / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1137, allocations: 0 / 439.4 MB, free: 15.96 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.0004929/0.1142, allocations: 430.5 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1142, allocations: 8.031 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.1143, allocations: 15.81 kB / 439.8 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1145, allocations: 210.9 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1146, allocations: 8 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1146, allocations: 3.938 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.1147, allocations: 53.67 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1147, allocations: 3.906 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1148, allocations: 4 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1148, allocations: 3.953 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.1149, allocations: 19.92 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.1152, allocations: 296.9 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1154, allocations: 50.69 kB / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1154, allocations: 0 / 440.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.1156, allocations: 71.41 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1156, allocations: 4 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004806/0.1161, allocations: 189 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1161, allocations: 51.41 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.1164, allocations: 258.5 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1164, allocations: 29.69 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.1164, allocations: 112 kB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.1165, allocations: 23.73 kB / 441.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.1165, allocations: 4 kB / 441.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.1166, allocations: 326.8 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1166, allocations: 23.98 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.1167, allocations: 33.7 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.291e-05/0.1168, allocations: 20 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1168, allocations: 0 / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002143/0.117, allocations: 109.4 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.117, allocations: 11.89 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.117, allocations: 4.031 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.117, allocations: 4 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.1171, allocations: 15.94 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1172, allocations: 3.984 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1172, allocations: 4 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.1172, allocations: 4 kB / 441.7 MB, free: 13.37 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 8.874e-05/0.1173, allocations: 129.8 kB / 441.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.1173, allocations: 15.81 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1174, allocations: 37.33 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1174, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1174, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1174, allocations: 192 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.1178, allocations: 403.6 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1178, allocations: 7.938 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.1179, allocations: 11.98 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1179, allocations: 4 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.1179, allocations: 4.031 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1179, allocations: 0 / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1179, allocations: 4 kB / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001968/0.1181, allocations: 217.9 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.1182, allocations: 96.91 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1182, allocations: 0 / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1183, allocations: 8 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1183, allocations: 11.98 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1183, allocations: 4 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1185, allocations: 196 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1185, allocations: 0 / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1187, allocations: 27.98 kB / 442.9 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.0008961/0.1196, allocations: 468.3 kB / 443.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1198, allocations: 59.91 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1198, allocations: 0 / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/0.1199, allocations: 27.94 kB / 443.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.1202, allocations: 32.05 kB / 443.5 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1207, allocations: 295 kB / 443.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.121, allocations: 0.7199 MB / 444.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.322e-05/0.1211, allocations: 12.88 kB / 444.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.1211, allocations: 23.36 kB / 444.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1211, allocations: 0 / 444.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Templates: time 0.004034/0.1251, allocations: 1.611 MB / 446.1 MB, free: 8.836 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) Environment - environmentSimulation: