Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 99.31 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.001572/0.001572, 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.298/1.298, 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.2845/0.2845, allocations: 40 MB / 310.4 MB, free: 9.637 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.0005267/0.0005268, allocations: 20 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1096, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002045/0.1117, allocations: 1.374 MB / 438.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1129, allocations: 0.7266 MB / 438.9 MB, free: 188 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.1131, allocations: 7.938 kB / 438.9 MB, free: 180 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1133, allocations: 27.84 kB / 438.9 MB, free: 152 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1136, allocations: 39.89 kB / 439 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1138, allocations: 87.77 kB / 439 MB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.114, allocations: 59.86 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.1141, allocations: 12.2 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.1142, allocations: 35.84 kB / 439.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.1143, allocations: 31.8 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1143, allocations: 0 / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-05/0.1144, allocations: 27.94 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.933e-05/0.1144, allocations: 15.91 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1145, allocations: 53.62 kB / 439.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.1146, allocations: 76.11 kB / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1146, allocations: 0 / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1147, allocations: 0 / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1147, allocations: 0 / 439.3 MB, free: 15.71 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.0004718/0.1151, allocations: 406.8 kB / 439.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1152, allocations: 12.03 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1152, allocations: 7.906 kB / 439.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1155, allocations: 202.9 kB / 440 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1155, allocations: 4 kB / 440 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1155, allocations: 4 kB / 440 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1157, allocations: 57.61 kB / 440 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1157, allocations: 3.984 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.1157, allocations: 0 / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1157, allocations: 3.953 kB / 440 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.793e-05/0.1158, allocations: 19.98 kB / 440.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1161, allocations: 281 kB / 440.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.1163, allocations: 62.61 kB / 440.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1163, allocations: 0 / 440.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.1165, allocations: 71.38 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1165, allocations: 0 / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005089/0.117, allocations: 173.3 kB / 440.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.1171, allocations: 51.41 kB / 440.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1172, allocations: 190.1 kB / 440.9 MB, free: 14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1172, allocations: 25.7 kB / 440.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.1173, allocations: 100.1 kB / 441 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1173, allocations: 23.7 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.1174, allocations: 4 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.1175, allocations: 322.8 kB / 441.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.1175, allocations: 27.98 kB / 441.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.1176, allocations: 37.64 kB / 441.4 MB, free: 13.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.258e-05/0.1176, allocations: 20 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1176, allocations: 192 / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.1178, allocations: 89.97 kB / 441.5 MB, free: 13.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1179, allocations: 19.88 kB / 441.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1179, allocations: 3.938 kB / 441.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1179, allocations: 4.031 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.118, allocations: 19.94 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.118, allocations: 4 kB / 441.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.118, allocations: 4 kB / 441.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1181, allocations: 7.984 kB / 441.6 MB, free: 13.27 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 8.47e-05/0.1181, allocations: 121.8 kB / 441.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.1182, allocations: 11.91 kB / 441.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.1182, allocations: 20.66 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1182, allocations: 4 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1182, allocations: 0 / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1183, allocations: 0 / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1187, allocations: 399.3 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1187, allocations: 0 / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.1187, allocations: 15.94 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1187, allocations: 0 / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1187, allocations: 7.984 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1188, allocations: 4.031 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1188, allocations: 0 / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.119, allocations: 214 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.119, allocations: 88.92 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.1191, allocations: 3.984 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.188e-05/0.1191, allocations: 8 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.1192, allocations: 8 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1192, allocations: 7.984 kB / 442.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1193, allocations: 140.1 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1193, allocations: 3.938 kB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1196, allocations: 27.98 kB / 442.6 MB, free: 12.09 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.000941/0.1205, allocations: 468.2 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1207, allocations: 51.98 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1207, allocations: 3.938 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.1208, allocations: 27.98 kB / 443.2 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.121, allocations: 27.92 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.1214, allocations: 230.5 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1217, allocations: 0.716 MB / 444.1 MB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.1218, allocations: 21.17 kB / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.275e-05/0.1218, allocations: 23.42 kB / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1218, allocations: 0 / 444.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.003865/0.1257, allocations: 1.572 MB / 445.7 MB, free: 8.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) Environment - environmentSimulation: