Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 99.08 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.0009422/0.0009422, allocations: 177.3 kB / 15.94 MB, free: 220 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.293/1.293, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.2814/0.2814, allocations: 39.99 MB / 310.4 MB, free: 9.93 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.0005022/0.0005023, allocations: 20 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 57.95 MB / 436.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001931/0.1093, allocations: 1.378 MB / 438.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1103, allocations: 0.7305 MB / 438.9 MB, free: 492 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.1104, allocations: 3.938 kB / 438.9 MB, free: 488 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002356/0.1107, allocations: 31.84 kB / 438.9 MB, free: 456 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1109, allocations: 47.88 kB / 439 MB, free: 408 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1111, allocations: 75.77 kB / 439 MB, free: 332 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.1113, allocations: 55.88 kB / 439.1 MB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.683e-05/0.1113, allocations: 12.22 kB / 439.1 MB, free: 264 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.1114, allocations: 39.83 kB / 439.1 MB, free: 224 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.1115, allocations: 27.84 kB / 439.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1115, allocations: 4 kB / 439.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.237e-05/0.1116, allocations: 31.94 kB / 439.2 MB, free: 160 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1116, allocations: 15.92 kB / 439.2 MB, free: 144 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.1117, allocations: 37.64 kB / 439.3 MB, free: 100 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.1118, allocations: 88.08 kB / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.1118, allocations: 0 / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1118, allocations: 0 / 439.3 MB, free: 12 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1118, allocations: 0 / 439.3 MB, free: 12 kB / 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.0004797/0.1123, allocations: 402.8 kB / 439.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.1124, allocations: 8.031 kB / 439.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1124, allocations: 15.91 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1126, allocations: 202.9 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.1127, allocations: 7.938 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.1127, allocations: 3.984 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1128, allocations: 53.67 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1128, allocations: 0 / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1129, allocations: 4 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1129, allocations: 3.953 kB / 440 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.526e-05/0.1129, allocations: 15.98 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.1133, allocations: 285 kB / 440.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1134, allocations: 58.61 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.1134, allocations: 4 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1136, allocations: 75.38 kB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1136, allocations: 4 kB / 440.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004892/0.1141, allocations: 169.3 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.1142, allocations: 51.41 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1143, allocations: 186.1 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1144, allocations: 29.7 kB / 440.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.1144, allocations: 104.1 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.1145, allocations: 19.7 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.1145, allocations: 4 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1146, allocations: 326.8 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.407e-05/0.1147, allocations: 27.92 kB / 441.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.642e-05/0.1147, allocations: 37.64 kB / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/0.1148, allocations: 23.98 kB / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1148, allocations: 0 / 441.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001736/0.115, allocations: 97.53 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.115, allocations: 15.98 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.115, allocations: 0 / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.115, allocations: 0 / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.982e-05/0.1151, allocations: 15.98 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1151, allocations: 7.938 kB / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.1152, allocations: 0 / 441.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1152, allocations: 4 kB / 441.6 MB, free: 13.57 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 0.0001004/0.1153, allocations: 125.8 kB / 441.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.1153, allocations: 7.906 kB / 441.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1154, allocations: 28.66 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1154, allocations: 3.938 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1154, allocations: 0 / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1154, allocations: 0 / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004094/0.1158, allocations: 395.2 kB / 442.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1158, allocations: 3.938 kB / 442.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.1159, allocations: 8 kB / 442.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1159, allocations: 0 / 442.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1159, allocations: 4.031 kB / 442.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1159, allocations: 7.984 kB / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1159, allocations: 0 / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1161, allocations: 210 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1162, allocations: 88.92 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.1162, allocations: 4 kB / 442.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.1163, allocations: 11.98 kB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1164, allocations: 4.312 kB / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.1164, allocations: 4 kB / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1165, allocations: 144 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1165, allocations: 0 / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1168, allocations: 28 kB / 442.6 MB, free: 12.4 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.0009706/0.1177, allocations: 476.9 kB / 443.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.1179, allocations: 59.91 kB / 443.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1179, allocations: 0 / 443.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.118, allocations: 31.97 kB / 443.2 MB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.1183, allocations: 32.05 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000446/0.1187, allocations: 234.3 kB / 443.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.119, allocations: 0.7083 MB / 444.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.124e-05/0.119, allocations: 12.88 kB / 444.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.1191, allocations: 19.44 kB / 444.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1191, allocations: 0 / 444.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Templates: time 0.003948/0.123, allocations: 1.587 MB / 445.8 MB, free: 9.227 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) Environment - environmentSimulation: