Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 99.62 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.001655/0.001656, 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.285/1.285, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.965 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.0005165/0.0005167, allocations: 20 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1009, allocations: 57.95 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.001854/0.1028, allocations: 1.378 MB / 438.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.1039, allocations: 0.7343 MB / 438.9 MB, free: 464 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.265e-05/0.104, allocations: 4 kB / 438.9 MB, free: 460 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1043, allocations: 31.84 kB / 438.9 MB, free: 428 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1044, allocations: 43.88 kB / 439 MB, free: 384 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.1047, allocations: 75.78 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1049, allocations: 59.86 kB / 439.1 MB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.105, allocations: 16.2 kB / 439.1 MB, free: 232 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.1051, allocations: 35.84 kB / 439.1 MB, free: 196 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.1051, allocations: 31.84 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1052, allocations: 4 kB / 439.2 MB, free: 160 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1053, allocations: 23.94 kB / 439.2 MB, free: 136 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.1053, allocations: 19.92 kB / 439.2 MB, free: 116 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.1054, allocations: 37.64 kB / 439.3 MB, free: 72 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1055, allocations: 88.08 kB / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1055, allocations: 0 / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1055, allocations: 0 / 439.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1055, allocations: 0 / 439.3 MB, free: 15.98 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.0004715/0.106, allocations: 406.8 kB / 439.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1061, allocations: 8.031 kB / 439.8 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.1061, allocations: 11.91 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1063, allocations: 206.8 kB / 440 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1063, allocations: 4 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.1064, allocations: 0 / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1065, allocations: 53.67 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.1065, allocations: 0 / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1065, allocations: 3.938 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1066, allocations: 7.953 kB / 440 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.281e-05/0.1066, allocations: 19.98 kB / 440.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.107, allocations: 281 kB / 440.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.1071, allocations: 58.61 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1072, allocations: 4 kB / 440.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.1073, allocations: 79.38 kB / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.1073, allocations: 0 / 440.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000476/0.1078, allocations: 165.3 kB / 440.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1079, allocations: 51.41 kB / 440.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.108, allocations: 182.2 kB / 440.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1081, allocations: 33.69 kB / 440.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1081, allocations: 104.1 kB / 441 MB, free: 14.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1082, allocations: 31.69 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1082, allocations: 0 / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.1083, allocations: 326.8 kB / 441.3 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.1083, allocations: 16 kB / 441.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.681e-05/0.1084, allocations: 37.7 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.1084, allocations: 23.98 kB / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1085, allocations: 0 / 441.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001625/0.1086, allocations: 101.5 kB / 441.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1086, allocations: 7.953 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1087, allocations: 4 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1087, allocations: 0 / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.1088, allocations: 19.92 kB / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1088, allocations: 0 / 441.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.1088, allocations: 4 kB / 441.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1088, allocations: 4 kB / 441.6 MB, free: 13.55 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 8.985e-05/0.1089, allocations: 133.8 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.109, allocations: 11.89 kB / 441.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.109, allocations: 20.67 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.109, allocations: 3.984 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.109, allocations: 0 / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.109, allocations: 0 / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.1094, allocations: 395.2 kB / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1094, allocations: 4 kB / 442.1 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.1095, allocations: 8.219 kB / 442.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1095, allocations: 4 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1095, allocations: 3.938 kB / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1095, allocations: 0 / 442.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1095, allocations: 7.984 kB / 442.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.1097, allocations: 206 kB / 442.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.1098, allocations: 92.92 kB / 442.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.1098, allocations: 11.94 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.1099, allocations: 4.359 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.11, allocations: 4 kB / 442.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.11, allocations: 4 kB / 442.4 MB, free: 12.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.1101, allocations: 144 kB / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1101, allocations: 0 / 442.6 MB, free: 12.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1103, allocations: 24 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.0009308/0.1113, allocations: 480.4 kB / 443.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1114, allocations: 55.91 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1115, allocations: 4 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.371e-05/0.1115, allocations: 32.05 kB / 443.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1118, allocations: 23.94 kB / 443.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.1122, allocations: 238.4 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1124, allocations: 0.7043 MB / 444.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.1125, allocations: 16.88 kB / 444.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.1125, allocations: 15.44 kB / 444.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1125, allocations: 0 / 444.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of Templates: time 0.003944/0.1165, allocations: 1.591 MB / 445.8 MB, free: 9.203 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) Environment - environmentSimulation: