Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 103 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.0009475/0.0009475, allocations: 173.3 kB / 15.95 MB, free: 212 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.289/1.289, 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.2+maint.om/package.mo): time 0.2864/0.2864, allocations: 39.99 MB / 310.4 MB, free: 10 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.0005435/0.0005434, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1023, allocations: 57.95 MB / 436.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00177/0.1041, allocations: 1.374 MB / 438.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1054, allocations: 0.7383 MB / 438.9 MB, free: 472 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.1055, allocations: 0 / 438.9 MB, free: 472 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1058, allocations: 87.73 kB / 439 MB, free: 384 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.106, allocations: 67.84 kB / 439 MB, free: 316 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1063, allocations: 67.8 kB / 439.1 MB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1064, allocations: 71.83 kB / 439.2 MB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.383e-05/0.1065, allocations: 20.2 kB / 439.2 MB, free: 156 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.567e-05/0.1066, allocations: 43.83 kB / 439.2 MB, free: 112 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.336e-05/0.1067, allocations: 51.81 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.1067, allocations: 4 kB / 439.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.984e-05/0.1068, allocations: 23.94 kB / 439.3 MB, free: 32 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1068, allocations: 31.89 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.1069, allocations: 37.69 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.107, allocations: 80.06 kB / 439.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.1071, allocations: 4 kB / 439.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1071, allocations: 3.938 kB / 439.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1071, allocations: 0 / 439.5 MB, free: 15.87 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.000455/0.1075, allocations: 418.8 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1076, allocations: 12.03 kB / 439.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1076, allocations: 15.81 kB / 439.9 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.1078, allocations: 206.8 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1079, allocations: 0 / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1079, allocations: 8 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.108, allocations: 53.67 kB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.108, allocations: 0 / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1081, allocations: 0 / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1081, allocations: 3.953 kB / 440.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.448e-05/0.1081, allocations: 23.98 kB / 440.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.1085, allocations: 292.7 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1086, allocations: 62.67 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1087, allocations: 0 / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.1088, allocations: 75.39 kB / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1088, allocations: 0 / 440.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004749/0.1093, allocations: 173.3 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.1094, allocations: 59.34 kB / 440.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1096, allocations: 218.7 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1096, allocations: 25.7 kB / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.1097, allocations: 108 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1097, allocations: 23.66 kB / 441.2 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.1097, allocations: 8 kB / 441.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.1098, allocations: 326.8 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.1099, allocations: 16 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.365e-05/0.1099, allocations: 41.7 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.11, allocations: 20 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.11, allocations: 0 / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.1102, allocations: 105.5 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1102, allocations: 7.953 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1102, allocations: 4 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1102, allocations: 0 / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.1103, allocations: 19.92 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1103, allocations: 4.031 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1104, allocations: 4.188 kB / 441.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1104, allocations: 4 kB / 441.8 MB, free: 13.35 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.67e-05/0.1105, allocations: 137.7 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.1105, allocations: 11.81 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.1106, allocations: 25.34 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1106, allocations: 0 / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1106, allocations: 0 / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1106, allocations: 4 kB / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.111, allocations: 395.3 kB / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.111, allocations: 0 / 442.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.1111, allocations: 8 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1111, allocations: 0 / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1111, allocations: 7.984 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1111, allocations: 4 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1111, allocations: 0 / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1113, allocations: 230 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.1114, allocations: 85.02 kB / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1114, allocations: 3.984 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1115, allocations: 8 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.1115, allocations: 4 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.1115, allocations: 11.98 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1117, allocations: 168.3 kB / 442.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1117, allocations: 0 / 442.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1119, allocations: 27.98 kB / 442.9 MB, free: 12.13 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.0009086/0.1128, allocations: 465 kB / 443.3 MB, free: 11.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.113, allocations: 55.92 kB / 443.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.113, allocations: 0 / 443.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.782e-05/0.1131, allocations: 27.92 kB / 443.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.1134, allocations: 32.06 kB / 443.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.1138, allocations: 274.4 kB / 443.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.114, allocations: 0.7199 MB / 444.4 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.1141, allocations: 17.19 kB / 444.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1141, allocations: 19.42 kB / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1141, allocations: 0 / 444.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.003837/0.118, allocations: 1.594 MB / 446.1 MB, free: 8.914 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) Environment - environmentSimulation: