Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009202/0.0009205, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.006412/0.006412, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.317/0.317, allocations: 38.03 MB / 308.8 MB, free: 10.35 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.0005609/0.0005609, allocations: 19.98 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 57.52 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.001927/0.1102, allocations: 1.397 MB / 436 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1114, allocations: 0.7845 MB / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.1115, allocations: 0 / 436.8 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.1117, allocations: 31.83 kB / 436.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.1119, allocations: 51.83 kB / 436.8 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.1122, allocations: 71.8 kB / 436.9 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1124, allocations: 95.69 kB / 437 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.1125, allocations: 16.2 kB / 437 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.1126, allocations: 35.8 kB / 437.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.1126, allocations: 35.78 kB / 437.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1127, allocations: 0 / 437.1 MB, free: 2.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1128, allocations: 35.98 kB / 437.1 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.1128, allocations: 19.92 kB / 437.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.103e-05/0.1129, allocations: 61.44 kB / 437.2 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1131, allocations: 107.9 kB / 437.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1131, allocations: 4 kB / 437.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1131, allocations: 0 / 437.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1131, allocations: 0 / 437.3 MB, free: 2.438 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005035/0.1136, allocations: 395.1 kB / 437.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.1136, allocations: 8.031 kB / 437.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1137, allocations: 20.69 kB / 437.7 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1139, allocations: 204.1 kB / 437.9 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.1139, allocations: 384 / 437.9 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.1139, allocations: 12.12 kB / 437.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1141, allocations: 53.67 kB / 438 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1141, allocations: 0 / 438 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.1141, allocations: 0 / 438 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1141, allocations: 4 kB / 438 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.1142, allocations: 19.98 kB / 438 MB, free: 1.645 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.1145, allocations: 288.8 kB / 438.3 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1147, allocations: 54.67 kB / 438.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.1147, allocations: 24.84 kB / 438.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1148, allocations: 0 / 438.4 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.1149, allocations: 67.33 kB / 438.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 2.916e-06/0.1149, allocations: 3.984 kB / 438.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004906/0.1154, allocations: 185.2 kB / 438.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.1155, allocations: 55.41 kB / 438.7 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1157, allocations: 178.2 kB / 438.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1157, allocations: 29.69 kB / 438.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.1157, allocations: 104.1 kB / 439 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.1158, allocations: 23.7 kB / 439 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.1158, allocations: 17.66 kB / 439 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1159, allocations: 326.8 kB / 439.3 MB, free: 192 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.116, allocations: 27.98 kB / 439.4 MB, free: 164 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.1161, allocations: 33.7 kB / 439.4 MB, free: 124 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.864e-05/0.1162, allocations: 53.66 kB / 439.5 MB, free: 64 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1162, allocations: 4 kB / 439.5 MB, free: 60 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.1164, allocations: 105.5 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1164, allocations: 4 kB / 439.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1164, allocations: 4.219 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.1164, allocations: 4 kB / 439.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.1165, allocations: 23.86 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1165, allocations: 0 / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1166, allocations: 7.938 kB / 439.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1166, allocations: 4.375 kB / 439.6 MB, free: 15.9 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.1167, allocations: 125.8 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1167, allocations: 7.906 kB / 439.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.1167, allocations: 12.72 kB / 439.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.1167, allocations: 8 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1168, allocations: 4 kB / 439.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1168, allocations: 3.938 kB / 439.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1173, allocations: 387.5 kB / 440.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1173, allocations: 4 kB / 440.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1173, allocations: 11.98 kB / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1174, allocations: 0 / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1174, allocations: 3.969 kB / 440.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1174, allocations: 7.938 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1174, allocations: 4 kB / 440.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.1176, allocations: 204.2 kB / 440.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.1177, allocations: 85 kB / 440.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.1177, allocations: 11.94 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.1178, allocations: 4 kB / 440.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.1178, allocations: 7.984 kB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1178, allocations: 4 kB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1179, allocations: 148 kB / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1179, allocations: 0 / 440.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1182, allocations: 20 kB / 440.6 MB, free: 14.75 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 (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.0009999/0.1192, allocations: 472.6 kB / 441.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1194, allocations: 55.97 kB / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1194, allocations: 0 / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.1195, allocations: 27.94 kB / 441.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1198, allocations: 31.97 kB / 441.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.1202, allocations: 246.6 kB / 441.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1205, allocations: 0.7043 MB / 442.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1206, allocations: 17.17 kB / 442.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.1206, allocations: 15.44 kB / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1206, allocations: 0 / 442.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of Templates: time 0.003708/0.1243, allocations: 1.62 MB / 443.8 MB, free: 11.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) Environment - environmentSimulation: