Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 100.9 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.001456/0.001456, allocations: 177.3 kB / 15.94 MB, free: 228 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.29/1.29, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.285/0.285, allocations: 39.99 MB / 310.4 MB, free: 9.996 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.0005078/0.000508, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1036, allocations: 57.96 MB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.001856/0.1055, allocations: 1.37 MB / 438.1 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1066, allocations: 0.7499 MB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.907e-05/0.1067, allocations: 0 / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1069, allocations: 31.83 kB / 438.9 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1071, allocations: 39.89 kB / 439 MB, free: 348 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.1073, allocations: 75.78 kB / 439 MB, free: 272 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1074, allocations: 63.86 kB / 439.1 MB, free: 208 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1076, allocations: 12.22 kB / 439.1 MB, free: 196 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.1076, allocations: 39.83 kB / 439.1 MB, free: 156 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.1077, allocations: 23.86 kB / 439.2 MB, free: 132 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1077, allocations: 0 / 439.2 MB, free: 132 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.418e-05/0.1078, allocations: 31.92 kB / 439.2 MB, free: 100 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1079, allocations: 15.92 kB / 439.2 MB, free: 84 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.108, allocations: 37.64 kB / 439.3 MB, free: 40 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1081, allocations: 84.25 kB / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1081, allocations: 0 / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1081, allocations: 0 / 439.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1081, allocations: 0 / 439.3 MB, free: 15.95 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.0004779/0.1086, allocations: 406.7 kB / 439.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.1087, allocations: 8.031 kB / 439.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.1087, allocations: 11.81 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1089, allocations: 202.8 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.109, allocations: 3.984 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.109, allocations: 4 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1091, allocations: 57.61 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1091, allocations: 0 / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1091, allocations: 4 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1092, allocations: 3.953 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-05/0.1092, allocations: 19.98 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.1096, allocations: 277 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.1097, allocations: 54.62 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.1098, allocations: 8 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1099, allocations: 75.44 kB / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.11, allocations: 0 / 440.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004858/0.1104, allocations: 165.2 kB / 440.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1105, allocations: 51.41 kB / 440.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.1106, allocations: 174.2 kB / 440.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1107, allocations: 29.7 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.1107, allocations: 96.14 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1108, allocations: 27.64 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-06/0.1108, allocations: 4 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1109, allocations: 326.8 kB / 441.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.1109, allocations: 19.98 kB / 441.3 MB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.111, allocations: 37.7 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.574e-05/0.1111, allocations: 24 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1111, allocations: 0 / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001705/0.1113, allocations: 97.52 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1113, allocations: 11.39 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1113, allocations: 4 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1113, allocations: 0 / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.1114, allocations: 20.36 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1114, allocations: 3.938 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.1115, allocations: 8 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1115, allocations: 4.031 kB / 441.5 MB, free: 13.54 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.369e-05/0.1116, allocations: 129.8 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.777e-05/0.1116, allocations: 15.81 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.1116, allocations: 16.67 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1116, allocations: 3.984 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.1117, allocations: 0 / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1117, allocations: 7.984 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.1121, allocations: 387.5 kB / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1121, allocations: 0 / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.1121, allocations: 11.94 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1121, allocations: 0 / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1121, allocations: 4 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1122, allocations: 4 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1122, allocations: 0 / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.1124, allocations: 222 kB / 442.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.1124, allocations: 88.92 kB / 442.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.1125, allocations: 3.938 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1125, allocations: 7.984 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.1126, allocations: 4 kB / 442.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1126, allocations: 4 kB / 442.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.1127, allocations: 135.9 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1127, allocations: 0 / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.1129, allocations: 28 kB / 442.6 MB, free: 12.38 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.0009361/0.1139, allocations: 467.2 kB / 443 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1141, allocations: 59.91 kB / 443.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1141, allocations: 0 / 443.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.1141, allocations: 31.98 kB / 443.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1144, allocations: 23.94 kB / 443.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.1148, allocations: 230 kB / 443.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.115, allocations: 0.7004 MB / 444.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.163e-05/0.1151, allocations: 16.88 kB / 444.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.1151, allocations: 19.42 kB / 444.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1151, allocations: 7.938 kB / 444.1 MB, free: 10.8 MB / 382.1 MB Notification: Performance of Templates: time 0.00402/0.1192, allocations: 1.583 MB / 445.7 MB, free: 9.223 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) Environment - environmentSimulation: