Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008833/0.0008833, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.000897/0.0008971, allocations: 172.7 kB / 15.95 MB, free: 208 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.242/1.242, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2991/0.2991, allocations: 38.04 MB / 308.4 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.0005452/0.0005452, allocations: 16 kB / 376.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 57.53 MB / 434 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002063/0.1084, allocations: 1.366 MB / 435.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1097, allocations: 0.7382 MB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.1098, allocations: 4 kB / 436.1 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1101, allocations: 83.77 kB / 436.2 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1104, allocations: 67.8 kB / 436.2 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1106, allocations: 75.83 kB / 436.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1108, allocations: 91.73 kB / 436.4 MB, free: 3.066 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.48e-05/0.1109, allocations: 12.22 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.111, allocations: 43.78 kB / 436.5 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.964e-05/0.1111, allocations: 55.81 kB / 436.5 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1111, allocations: 4 kB / 436.5 MB, free: 2.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1112, allocations: 39.92 kB / 436.5 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.411e-05/0.1112, allocations: 27.84 kB / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.1113, allocations: 37.64 kB / 436.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.1114, allocations: 92.03 kB / 436.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1115, allocations: 0 / 436.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.1115, allocations: 4 kB / 436.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1115, allocations: 0 / 436.7 MB, free: 2.75 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.0004989/0.112, allocations: 410.9 kB / 437.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.112, allocations: 8.031 kB / 437.1 MB, free: 2.293 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.1121, allocations: 11.86 kB / 437.1 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.1123, allocations: 206.8 kB / 437.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1123, allocations: 4 kB / 437.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1123, allocations: 4 kB / 437.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.1125, allocations: 53.61 kB / 437.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1125, allocations: 0 / 437.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1125, allocations: 4 kB / 437.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1125, allocations: 11.94 kB / 437.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.018e-05/0.1126, allocations: 19.94 kB / 437.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.1129, allocations: 288.9 kB / 437.7 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.1131, allocations: 66.61 kB / 437.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.1132, allocations: 20.86 kB / 437.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1132, allocations: 0 / 437.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.1134, allocations: 75.36 kB / 437.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1134, allocations: 0 / 437.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004712/0.1139, allocations: 173.1 kB / 438 MB, free: 1.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1139, allocations: 51.41 kB / 438.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.1141, allocations: 218.7 kB / 438.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1141, allocations: 29.7 kB / 438.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.1142, allocations: 112.1 kB / 438.4 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1142, allocations: 27.64 kB / 438.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1142, allocations: 0 / 438.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1143, allocations: 326.8 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.1144, allocations: 19.98 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.635e-05/0.1145, allocations: 37.64 kB / 438.8 MB, free: 400 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.1145, allocations: 24 kB / 438.9 MB, free: 376 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1145, allocations: 0 / 438.9 MB, free: 376 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.1147, allocations: 109.4 kB / 439 MB, free: 260 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.1147, allocations: 8.141 kB / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1147, allocations: 0 / 439 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1148, allocations: 7.922 kB / 439 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.1149, allocations: 16 kB / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1149, allocations: 0 / 439 MB, free: 228 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.347e-05/0.1149, allocations: 4 kB / 439 MB, free: 224 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.1149, allocations: 8.031 kB / 439 MB, free: 216 kB / 366.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.674e-05/0.115, allocations: 126.9 kB / 439.1 MB, free: 80 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.115, allocations: 11.91 kB / 439.1 MB, free: 68 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.1151, allocations: 25.34 kB / 439.2 MB, free: 40 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1151, allocations: 4 kB / 439.2 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1151, allocations: 0 / 439.2 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1151, allocations: 0 / 439.2 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.1155, allocations: 399.2 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1156, allocations: 3.953 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.1156, allocations: 19.86 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1156, allocations: 0 / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1156, allocations: 4 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1156, allocations: 0 / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1156, allocations: 0 / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.1158, allocations: 204.3 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1159, allocations: 97.23 kB / 439.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.1159, allocations: 4 kB / 439.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.95e-05/0.116, allocations: 8 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.116, allocations: 7.984 kB / 439.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1161, allocations: 7.938 kB / 439.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1162, allocations: 172.3 kB / 440.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1162, allocations: 0 / 440.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002458/0.1165, allocations: 28 kB / 440.1 MB, free: 15 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.0009202/0.1174, allocations: 456.7 kB / 440.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1176, allocations: 67.84 kB / 440.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1176, allocations: 0 / 440.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.1176, allocations: 24 kB / 440.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.118, allocations: 28.16 kB / 440.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.1184, allocations: 274.4 kB / 440.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1187, allocations: 0.7083 MB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.396e-05/0.1188, allocations: 17.17 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.1188, allocations: 23.42 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1188, allocations: 0 / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of Templates: time 0.003742/0.1226, allocations: 1.605 MB / 443.3 MB, free: 11.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) Environment - environmentSimulation: