Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 91.61 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.0007964/0.0007964, 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.286/1.286, 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.2988/0.2988, allocations: 38.03 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.0008653/0.0008654, allocations: 16 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1057, allocations: 57.52 MB / 434 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001962/0.1077, allocations: 1.366 MB / 435.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1089, allocations: 0.7537 MB / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.109, allocations: 0 / 436.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1092, allocations: 43.81 kB / 436.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.1094, allocations: 43.83 kB / 436.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1097, allocations: 63.86 kB / 436.2 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1099, allocations: 87.73 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.11, allocations: 16.22 kB / 436.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.119e-05/0.1101, allocations: 35.8 kB / 436.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.854e-05/0.1102, allocations: 31.84 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1102, allocations: 0 / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1103, allocations: 39.92 kB / 436.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.1103, allocations: 23.91 kB / 436.5 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.1104, allocations: 33.7 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1105, allocations: 92.03 kB / 436.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.1106, allocations: 4 kB / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1106, allocations: 3.938 kB / 436.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1106, allocations: 0 / 436.6 MB, free: 2.883 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.0004982/0.1111, allocations: 391 kB / 437 MB, free: 2.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1111, allocations: 12.03 kB / 437 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.1112, allocations: 19.75 kB / 437 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1114, allocations: 195.6 kB / 437.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1114, allocations: 0 / 437.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1114, allocations: 8 kB / 437.2 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1116, allocations: 53.67 kB / 437.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.1116, allocations: 4 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1116, allocations: 11.86 kB / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1116, allocations: 0 / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.1117, allocations: 23.94 kB / 437.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.1121, allocations: 280.9 kB / 437.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1122, allocations: 58.69 kB / 437.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1123, allocations: 28.77 kB / 437.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.1123, allocations: 0 / 437.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.1125, allocations: 67.39 kB / 437.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1125, allocations: 0 / 437.7 MB, free: 1.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005122/0.113, allocations: 185 kB / 437.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1131, allocations: 51.41 kB / 438 MB, free: 1.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1132, allocations: 195.3 kB / 438.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1133, allocations: 25.7 kB / 438.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.1133, allocations: 108.1 kB / 438.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1134, allocations: 15.72 kB / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.1134, allocations: 7.938 kB / 438.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1135, allocations: 322.8 kB / 438.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.267e-05/0.1136, allocations: 23.98 kB / 438.6 MB, free: 0.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.1137, allocations: 37.7 kB / 438.7 MB, free: 0.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.1137, allocations: 23.94 kB / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1137, allocations: 0 / 438.7 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.1139, allocations: 101.6 kB / 438.8 MB, free: 464 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1139, allocations: 11.95 kB / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1139, allocations: 0 / 438.8 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.114, allocations: 4.031 kB / 438.8 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.1141, allocations: 19.92 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1141, allocations: 4 kB / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1141, allocations: 0 / 438.8 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1141, allocations: 4 kB / 438.8 MB, free: 420 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 9.851e-05/0.1142, allocations: 130.8 kB / 439 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.1143, allocations: 15.81 kB / 439 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.1143, allocations: 17.36 kB / 439 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1143, allocations: 0 / 439 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1143, allocations: 4.375 kB / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1143, allocations: 4 kB / 439 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.1148, allocations: 395.3 kB / 439.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.1148, allocations: 7.891 kB / 439.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.308e-05/0.1148, allocations: 8 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1149, allocations: 4 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1149, allocations: 0 / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1149, allocations: 0 / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1149, allocations: 7.969 kB / 439.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1151, allocations: 208.4 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.1152, allocations: 88.97 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1152, allocations: 8 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.577e-05/0.1153, allocations: 0 / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.1153, allocations: 7.984 kB / 439.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1154, allocations: 8 kB / 439.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1155, allocations: 156.9 kB / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1155, allocations: 0 / 439.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1158, allocations: 27.98 kB / 439.9 MB, free: 15.23 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.0009795/0.1167, allocations: 464.8 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001523/0.1169, allocations: 55.98 kB / 440.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1169, allocations: 0 / 440.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.117, allocations: 31.92 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1173, allocations: 23.97 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.1177, allocations: 246.5 kB / 440.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.118, allocations: 0.7082 MB / 441.4 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.1181, allocations: 25.17 kB / 441.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.1181, allocations: 15.44 kB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1181, allocations: 0 / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of Templates: time 0.003907/0.122, allocations: 1.595 MB / 443.1 MB, free: 12.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) Environment - environmentSimulation: