Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.78 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.001244/0.001244, 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.294/1.294, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.2678/0.2678, allocations: 40 MB / 310.4 MB, free: 9.961 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.0004826/0.0004827, allocations: 20 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09741, allocations: 57.95 MB / 436.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.001923/0.09938, allocations: 1.374 MB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1006, allocations: 0.7421 MB / 438.9 MB, free: 472 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.663e-05/0.1007, allocations: 4 kB / 438.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.1009, allocations: 27.84 kB / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1011, allocations: 51.88 kB / 439 MB, free: 388 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.1013, allocations: 79.77 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1015, allocations: 59.86 kB / 439.1 MB, free: 248 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.1016, allocations: 16.2 kB / 439.1 MB, free: 232 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.1017, allocations: 39.84 kB / 439.2 MB, free: 192 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.685e-05/0.1018, allocations: 27.86 kB / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1018, allocations: 0 / 439.2 MB, free: 164 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1019, allocations: 35.92 kB / 439.2 MB, free: 128 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.72e-05/0.102, allocations: 27.91 kB / 439.3 MB, free: 100 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.102, allocations: 41.62 kB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1022, allocations: 100.1 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1022, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1022, allocations: 0 / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1022, allocations: 0 / 439.4 MB, free: 15.95 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.0005822/0.1028, allocations: 426.6 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.1029, allocations: 12.02 kB / 439.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.1029, allocations: 19.81 kB / 439.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1032, allocations: 202.9 kB / 440 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1032, allocations: 7.984 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1032, allocations: 3.938 kB / 440 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1034, allocations: 53.67 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1034, allocations: 7.906 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1034, allocations: 0 / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1034, allocations: 3.953 kB / 440.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.1035, allocations: 19.92 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.1039, allocations: 293 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1041, allocations: 58.67 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.1041, allocations: 3.984 kB / 440.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1043, allocations: 75.41 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1043, allocations: 4 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005775/0.1049, allocations: 181 kB / 440.7 MB, free: 14.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1049, allocations: 51.41 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1052, allocations: 258.5 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1052, allocations: 29.7 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1053, allocations: 116 kB / 441.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.1053, allocations: 23.73 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.1054, allocations: 0 / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1055, allocations: 330.8 kB / 441.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1055, allocations: 19.98 kB / 441.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.1056, allocations: 33.7 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.925e-05/0.1057, allocations: 27.98 kB / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1057, allocations: 0 / 441.6 MB, free: 13.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1059, allocations: 101.4 kB / 441.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1059, allocations: 11.94 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.106, allocations: 8.031 kB / 441.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.106, allocations: 3.938 kB / 441.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.1061, allocations: 15.94 kB / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1061, allocations: 0 / 441.7 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.1061, allocations: 8 kB / 441.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1062, allocations: 7.984 kB / 441.8 MB, free: 13.35 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.0001127/0.1063, allocations: 133.8 kB / 441.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1063, allocations: 11.81 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.1064, allocations: 25.36 kB / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1064, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1064, allocations: 0 / 441.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1064, allocations: 8.172 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.1068, allocations: 403.2 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1068, allocations: 7.938 kB / 442.3 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.1069, allocations: 11.98 kB / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.1069, allocations: 0 / 442.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1069, allocations: 4.031 kB / 442.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1069, allocations: 4 kB / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1069, allocations: 0 / 442.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1072, allocations: 214.1 kB / 442.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.1072, allocations: 92.91 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.1073, allocations: 4 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1073, allocations: 8.375 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.1074, allocations: 7.984 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1074, allocations: 4 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.1076, allocations: 200 kB / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1076, allocations: 0 / 442.9 MB, free: 12.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1078, allocations: 27.98 kB / 442.9 MB, free: 12.1 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.0009677/0.1088, allocations: 468.1 kB / 443.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.109, allocations: 59.92 kB / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.109, allocations: 0 / 443.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.1091, allocations: 31.91 kB / 443.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.1093, allocations: 36.05 kB / 443.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.1098, allocations: 295 kB / 443.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.1101, allocations: 0.7199 MB / 444.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.664e-05/0.1102, allocations: 16.88 kB / 444.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.1102, allocations: 15.38 kB / 444.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1102, allocations: 4 kB / 444.5 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Templates: time 0.003936/0.1142, allocations: 1.607 MB / 446.1 MB, free: 8.832 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: