Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009941, allocations: 100.2 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.001154/0.001154, 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.282/1.282, 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.2834/0.2834, allocations: 40 MB / 310.4 MB, free: 9.98 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.0005356/0.0005357, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001795/0.1035, allocations: 1.382 MB / 438.2 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.1045, allocations: 0.7382 MB / 438.9 MB, free: 448 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.1046, allocations: 4 kB / 438.9 MB, free: 444 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1048, allocations: 27.84 kB / 438.9 MB, free: 416 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1049, allocations: 43.88 kB / 439 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1052, allocations: 83.78 kB / 439 MB, free: 288 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.1053, allocations: 59.86 kB / 439.1 MB, free: 228 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.1054, allocations: 12.2 kB / 439.1 MB, free: 216 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.1055, allocations: 31.86 kB / 439.1 MB, free: 184 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.1055, allocations: 31.84 kB / 439.2 MB, free: 152 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1055, allocations: 4 kB / 439.2 MB, free: 148 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.1056, allocations: 27.92 kB / 439.2 MB, free: 120 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.1057, allocations: 15.92 kB / 439.2 MB, free: 104 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1057, allocations: 41.64 kB / 439.3 MB, free: 56 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.1058, allocations: 92.17 kB / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1059, allocations: 0 / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1059, allocations: 0 / 439.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.1059, allocations: 0 / 439.4 MB, free: 15.96 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.0004455/0.1063, allocations: 410.8 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.1064, allocations: 8.031 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.1064, allocations: 7.906 kB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1066, allocations: 207.4 kB / 440 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1066, allocations: 8 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1066, allocations: 4 kB / 440 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1068, allocations: 53.67 kB / 440 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1068, allocations: 3.906 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.1068, allocations: 0 / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1068, allocations: 3.953 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.615e-05/0.1069, allocations: 19.98 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.1072, allocations: 280.9 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1074, allocations: 62.67 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1074, allocations: 0 / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.1075, allocations: 71.47 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1076, allocations: 0 / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000462/0.108, allocations: 177.1 kB / 440.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1081, allocations: 51.41 kB / 440.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1082, allocations: 199.3 kB / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1083, allocations: 29.7 kB / 440.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.1083, allocations: 108.1 kB / 441 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1083, allocations: 23.69 kB / 441 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1084, allocations: 4 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.1085, allocations: 322.8 kB / 441.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.1085, allocations: 24 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.1086, allocations: 33.7 kB / 441.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.1086, allocations: 20 kB / 441.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1086, allocations: 0 / 441.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001675/0.1088, allocations: 105.4 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1088, allocations: 11.95 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1089, allocations: 0 / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.1089, allocations: 0 / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.109, allocations: 20.02 kB / 441.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.109, allocations: 8.312 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.109, allocations: 0 / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.109, allocations: 4 kB / 441.6 MB, free: 13.51 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.505e-05/0.1091, allocations: 133.7 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.1092, allocations: 15.91 kB / 441.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.1092, allocations: 17.36 kB / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1092, allocations: 0 / 441.8 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1092, allocations: 8 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1092, allocations: 3.984 kB / 441.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.1096, allocations: 395.2 kB / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1097, allocations: 0 / 442.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.1097, allocations: 11.98 kB / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1097, allocations: 4 kB / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1097, allocations: 0 / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1097, allocations: 0 / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1097, allocations: 4.031 kB / 442.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.1099, allocations: 217.9 kB / 442.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.11, allocations: 89.02 kB / 442.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.11, allocations: 4 kB / 442.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1101, allocations: 3.984 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.1101, allocations: 8 kB / 442.5 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1102, allocations: 4.188 kB / 442.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1103, allocations: 156.9 kB / 442.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1103, allocations: 3.938 kB / 442.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002414/0.1105, allocations: 27.89 kB / 442.7 MB, free: 12.31 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.0009068/0.1114, allocations: 464.9 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1116, allocations: 59.91 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1116, allocations: 0 / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.1117, allocations: 27.98 kB / 443.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1119, allocations: 27.92 kB / 443.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.1123, allocations: 246.5 kB / 443.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1126, allocations: 0.716 MB / 444.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.45e-05/0.1126, allocations: 13.19 kB / 444.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.1126, allocations: 15.44 kB / 444.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1126, allocations: 0 / 444.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of Templates: time 0.003549/0.1162, allocations: 1.591 MB / 445.8 MB, free: 9.133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) Environment - environmentSimulation: