Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009163, allocations: 100.2 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.001067/0.001067, 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.292/1.292, 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.2948/0.2948, allocations: 40 MB / 310.4 MB, free: 9.98 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.0005702/0.0005703, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1085, allocations: 57.95 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001979/0.1105, allocations: 1.374 MB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1116, allocations: 0.7382 MB / 438.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.956e-05/0.1117, allocations: 0 / 438.9 MB, free: 476 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1119, allocations: 35.83 kB / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.1121, allocations: 47.88 kB / 439 MB, free: 392 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1124, allocations: 79.78 kB / 439 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1125, allocations: 59.86 kB / 439.1 MB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.1126, allocations: 16.19 kB / 439.1 MB, free: 236 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.1127, allocations: 35.84 kB / 439.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.1128, allocations: 31.84 kB / 439.2 MB, free: 168 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1128, allocations: 4 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.1129, allocations: 27.94 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.1129, allocations: 15.92 kB / 439.2 MB, free: 120 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.113, allocations: 37.64 kB / 439.3 MB, free: 76 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1131, allocations: 92.08 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1132, allocations: 0 / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1132, allocations: 0 / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1132, allocations: 0 / 439.4 MB, free: 15.98 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.0005359/0.1137, allocations: 406.8 kB / 439.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1138, allocations: 16.03 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.1138, allocations: 7.906 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.114, allocations: 207.5 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1141, allocations: 4 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.1141, allocations: 4 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1142, allocations: 57.61 kB / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1142, allocations: 3.906 kB / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1142, allocations: 0 / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1143, allocations: 3.953 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.647e-05/0.1143, allocations: 19.98 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1147, allocations: 284.9 kB / 440.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1148, allocations: 58.62 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1149, allocations: 0 / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.1151, allocations: 75.47 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1151, allocations: 0 / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000521/0.1156, allocations: 177.1 kB / 440.7 MB, free: 14.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1157, allocations: 51.41 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1158, allocations: 195.3 kB / 440.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1159, allocations: 25.7 kB / 440.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.1159, allocations: 108.1 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.116, allocations: 27.69 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.116, allocations: 4 kB / 441.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1161, allocations: 322.8 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.1162, allocations: 19.94 kB / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.1162, allocations: 37.7 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/0.1163, allocations: 23.98 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1163, allocations: 0 / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001696/0.1165, allocations: 101.5 kB / 441.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1165, allocations: 11.95 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.1165, allocations: 4 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.1165, allocations: 3.938 kB / 441.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.1166, allocations: 15.98 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1166, allocations: 0 / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.1167, allocations: 4 kB / 441.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1167, allocations: 4 kB / 441.6 MB, free: 13.52 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.514e-05/0.1168, allocations: 129.8 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.1168, allocations: 19.84 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.1169, allocations: 21.34 kB / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1169, allocations: 0 / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1169, allocations: 0 / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1169, allocations: 4 kB / 441.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.1173, allocations: 395.5 kB / 442.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1173, allocations: 0 / 442.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1174, allocations: 11.94 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1174, allocations: 8.031 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1174, allocations: 3.984 kB / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1174, allocations: 0 / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1174, allocations: 80 / 442.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.1176, allocations: 214 kB / 442.4 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1177, allocations: 93 kB / 442.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1177, allocations: 8 kB / 442.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.1178, allocations: 7.922 kB / 442.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.1178, allocations: 4 kB / 442.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1179, allocations: 8 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.118, allocations: 152.9 kB / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.118, allocations: 0 / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1182, allocations: 27.89 kB / 442.7 MB, free: 12.32 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.0009739/0.1192, allocations: 465.2 kB / 443.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1194, allocations: 63.89 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1194, allocations: 0 / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.1195, allocations: 24.12 kB / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.1198, allocations: 31.92 kB / 443.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.1202, allocations: 246.4 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1205, allocations: 0.7082 MB / 444.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.988e-05/0.1206, allocations: 21.17 kB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1206, allocations: 15.44 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1206, allocations: 3.938 kB / 444.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Templates: time 0.004047/0.1247, allocations: 1.583 MB / 445.8 MB, free: 9.148 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) Environment - environmentSimulation: