Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009368, allocations: 98.69 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.001004/0.001004, 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.294/1.294, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.2803/0.2803, allocations: 40 MB / 310.4 MB, free: 9.895 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.0005345/0.0005346, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1037, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.001903/0.1056, allocations: 1.374 MB / 438.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.1067, allocations: 0.7382 MB / 438.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.1068, allocations: 0 / 438.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002522/0.1071, allocations: 35.84 kB / 438.9 MB, free: 432 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.1073, allocations: 43.86 kB / 439 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.1076, allocations: 75.78 kB / 439 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1077, allocations: 59.86 kB / 439.1 MB, free: 252 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.225e-05/0.1078, allocations: 20.19 kB / 439.1 MB, free: 232 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.487e-05/0.1079, allocations: 39.84 kB / 439.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.108, allocations: 31.84 kB / 439.2 MB, free: 160 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.108, allocations: 0 / 439.2 MB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.928e-05/0.1081, allocations: 27.94 kB / 439.2 MB, free: 132 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.1081, allocations: 19.92 kB / 439.2 MB, free: 112 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.1082, allocations: 41.62 kB / 439.3 MB, free: 64 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.1084, allocations: 88.09 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1084, allocations: 0 / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1084, allocations: 4 kB / 439.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.1084, allocations: 0 / 439.4 MB, free: 15.97 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.0004776/0.1089, allocations: 418.8 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1089, allocations: 8.031 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.109, allocations: 11.81 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.1092, allocations: 210.8 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1092, allocations: 8 kB / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.1092, allocations: 0 / 440 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1094, allocations: 53.67 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1094, allocations: 0 / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1094, allocations: 4 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1094, allocations: 7.953 kB / 440.1 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.969e-05/0.1095, allocations: 15.98 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.1098, allocations: 292.7 kB / 440.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.11, allocations: 58.67 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.11, allocations: 0 / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.1102, allocations: 79.41 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1102, allocations: 0 / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004784/0.1107, allocations: 169.2 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1107, allocations: 55.34 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.1109, allocations: 218.7 kB / 440.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1109, allocations: 33.64 kB / 441 MB, free: 14.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.111, allocations: 116 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.111, allocations: 23.66 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.111, allocations: 0 / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.1111, allocations: 330.8 kB / 441.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.1112, allocations: 16 kB / 441.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.1113, allocations: 33.7 kB / 441.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.949e-05/0.1113, allocations: 24 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1113, allocations: 0 / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001672/0.1115, allocations: 105.5 kB / 441.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1116, allocations: 11.55 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1116, allocations: 0 / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.1116, allocations: 3.938 kB / 441.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.12e-05/0.1117, allocations: 19.98 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1117, allocations: 0 / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.1117, allocations: 4.375 kB / 441.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1117, allocations: 4 kB / 441.7 MB, free: 13.46 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.453e-05/0.1118, allocations: 137.8 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.1119, allocations: 15.81 kB / 441.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.1119, allocations: 21.34 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1119, allocations: 4 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1119, allocations: 4 kB / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1119, allocations: 0 / 441.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.1123, allocations: 395.3 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1123, allocations: 4.031 kB / 442.2 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.1124, allocations: 8 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1124, allocations: 3.984 kB / 442.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1124, allocations: 4 kB / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1124, allocations: 0 / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1124, allocations: 0 / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1126, allocations: 225.8 kB / 442.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1127, allocations: 93 kB / 442.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1127, allocations: 7.984 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.1128, allocations: 0 / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.1128, allocations: 4 kB / 442.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1129, allocations: 11.98 kB / 442.6 MB, free: 12.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.113, allocations: 168.5 kB / 442.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.113, allocations: 0 / 442.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1133, allocations: 31.92 kB / 442.8 MB, free: 12.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.0009167/0.1142, allocations: 459.2 kB / 443.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.1143, allocations: 55.92 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1144, allocations: 4.062 kB / 443.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.1144, allocations: 31.92 kB / 443.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1147, allocations: 28.11 kB / 443.3 MB, free: 11.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.1151, allocations: 278.3 kB / 443.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.1153, allocations: 0.7121 MB / 444.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.1154, allocations: 12.88 kB / 444.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.1154, allocations: 19.44 kB / 444.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1154, allocations: 4 kB / 444.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of Templates: time 0.003942/0.1194, allocations: 1.599 MB / 446 MB, free: 9.016 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) Environment - environmentSimulation: