Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.000823/0.0008229, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001422/0.001422, allocations: 172.7 kB / 15.95 MB, free: 208 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.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2941/0.2941, allocations: 38.03 MB / 308.4 MB, free: 10.24 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.1. 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.0005207/0.0005207, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1009, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.001825/0.1027, allocations: 1.37 MB / 435.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1038, allocations: 0.7421 MB / 436.1 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.1039, allocations: 8 kB / 436.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1042, allocations: 35.83 kB / 436.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.1044, allocations: 43.83 kB / 436.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1046, allocations: 71.86 kB / 436.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1048, allocations: 87.73 kB / 436.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.1049, allocations: 8.219 kB / 436.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.527e-05/0.1049, allocations: 43.78 kB / 436.4 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.105, allocations: 27.86 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.105, allocations: 4 kB / 436.4 MB, free: 3.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-05/0.1051, allocations: 35.92 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.275e-05/0.1052, allocations: 19.97 kB / 436.5 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.1052, allocations: 41.58 kB / 436.5 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1054, allocations: 88.09 kB / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1054, allocations: 0 / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1054, allocations: 0 / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1054, allocations: 0 / 436.6 MB, free: 2.902 MB / 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.0004347/0.1059, allocations: 406.9 kB / 437 MB, free: 2.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1059, allocations: 8.031 kB / 437 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1059, allocations: 19.75 kB / 437 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.1061, allocations: 195.6 kB / 437.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1062, allocations: 4 kB / 437.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1062, allocations: 4 kB / 437.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.1063, allocations: 49.67 kB / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1063, allocations: 7.922 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1064, allocations: 8 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1064, allocations: 4 kB / 437.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.576e-05/0.1064, allocations: 23.88 kB / 437.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1068, allocations: 284.9 kB / 437.6 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.1069, allocations: 50.69 kB / 437.6 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.107, allocations: 28.84 kB / 437.7 MB, free: 1.676 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.107, allocations: 3.938 kB / 437.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.1072, allocations: 67.39 kB / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1072, allocations: 0 / 437.7 MB, free: 1.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004751/0.1077, allocations: 181 kB / 437.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1077, allocations: 55.41 kB / 438 MB, free: 1.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1079, allocations: 199.3 kB / 438.1 MB, free: 1.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1079, allocations: 25.7 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.108, allocations: 100.1 kB / 438.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.108, allocations: 23.7 kB / 438.3 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.108, allocations: 4 kB / 438.3 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1082, allocations: 322.8 kB / 438.6 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.1082, allocations: 20 kB / 438.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1083, allocations: 33.7 kB / 438.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.1084, allocations: 24 kB / 438.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1084, allocations: 3.938 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.1086, allocations: 101.6 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1086, allocations: 7.953 kB / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1086, allocations: 0 / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1086, allocations: 0 / 438.8 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.1087, allocations: 27.92 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1087, allocations: 4.141 kB / 438.8 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.1088, allocations: 8.031 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1088, allocations: 192 / 438.8 MB, free: 428 kB / 366.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.0001009/0.1089, allocations: 134.8 kB / 439 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.1089, allocations: 19.73 kB / 439 MB, free: 264 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.111e-05/0.109, allocations: 21.36 kB / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.109, allocations: 0 / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.109, allocations: 0 / 439 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.109, allocations: 3.984 kB / 439 MB, free: 236 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.1094, allocations: 399.3 kB / 439.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1094, allocations: 3.953 kB / 439.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.1095, allocations: 8 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1095, allocations: 0 / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1095, allocations: 0 / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1095, allocations: 4 kB / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1095, allocations: 0 / 439.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1097, allocations: 212.2 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.1098, allocations: 88.97 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1098, allocations: 4 kB / 439.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.1099, allocations: 7.984 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.1099, allocations: 4.375 kB / 439.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1099, allocations: 4 kB / 439.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1101, allocations: 152.9 kB / 439.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1101, allocations: 4 kB / 439.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1103, allocations: 27.98 kB / 439.9 MB, free: 15.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.0009721/0.1113, allocations: 464.9 kB / 440.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.1115, allocations: 55.98 kB / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1115, allocations: 0 / 440.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.1116, allocations: 31.92 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1119, allocations: 31.91 kB / 440.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.1123, allocations: 238.5 kB / 440.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1126, allocations: 0.7082 MB / 441.4 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.101e-05/0.1126, allocations: 17.17 kB / 441.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.1127, allocations: 23.44 kB / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1127, allocations: 0 / 441.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.003747/0.1164, allocations: 1.591 MB / 443.1 MB, free: 12.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) Environment - environmentSimulation: