Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007853/0.0007855, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007892/0.0007892, allocations: 168.7 kB / 15.95 MB, free: 204 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.259/1.259, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.2665/0.2665, allocations: 38.04 MB / 308.4 MB, free: 10.41 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.0007882/0.0007883, allocations: 23.98 kB / 376.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/0.09553, allocations: 57.52 MB / 434 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001694/0.09727, allocations: 1.37 MB / 435.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.09832, allocations: 0.7497 MB / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.0984, allocations: 0 / 436.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.09869, allocations: 35.84 kB / 436.1 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.09889, allocations: 39.83 kB / 436.2 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.09917, allocations: 75.84 kB / 436.2 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.09934, allocations: 75.77 kB / 436.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.09945, allocations: 16.2 kB / 436.3 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.09954, allocations: 35.8 kB / 436.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.09962, allocations: 27.84 kB / 436.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.09964, allocations: 8 kB / 436.4 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.09974, allocations: 31.98 kB / 436.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.704e-05/0.09979, allocations: 19.92 kB / 436.4 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.09985, allocations: 37.64 kB / 436.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1, allocations: 80.09 kB / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1, allocations: 0 / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1, allocations: 0 / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1, 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.0004664/0.1005, allocations: 390.9 kB / 436.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1005, allocations: 12.03 kB / 437 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1006, allocations: 11.86 kB / 437 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1008, allocations: 195.4 kB / 437.2 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1008, allocations: 8 kB / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.1008, allocations: 0 / 437.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.101, allocations: 57.67 kB / 437.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.101, allocations: 0 / 437.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.101, allocations: 4 kB / 437.2 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.101, allocations: 0 / 437.2 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.1011, allocations: 23.94 kB / 437.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.1014, allocations: 288.8 kB / 437.5 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.1015, allocations: 54.67 kB / 437.6 MB, free: 1.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.1016, allocations: 24.84 kB / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.1016, allocations: 0 / 437.6 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.1018, allocations: 71.39 kB / 437.7 MB, free: 1.617 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1018, allocations: 3.938 kB / 437.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004649/0.1023, allocations: 169.2 kB / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.1023, allocations: 55.41 kB / 437.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1025, allocations: 158.9 kB / 438.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1025, allocations: 29.7 kB / 438.1 MB, free: 1.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.1025, allocations: 104.1 kB / 438.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1026, allocations: 23.66 kB / 438.2 MB, free: 1.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.1026, allocations: 3.938 kB / 438.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.1027, allocations: 322.8 kB / 438.5 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.185e-05/0.1028, allocations: 23.98 kB / 438.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.1028, allocations: 33.7 kB / 438.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.215e-05/0.1029, allocations: 20 kB / 438.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1029, allocations: 4 kB / 438.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001682/0.1031, allocations: 101.5 kB / 438.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1031, allocations: 11.95 kB / 438.7 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1031, allocations: 3.938 kB / 438.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1031, allocations: 0 / 438.7 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.1032, allocations: 20 kB / 438.7 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1032, allocations: 0 / 438.7 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.202e-05/0.1033, allocations: 3.984 kB / 438.7 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.1033, allocations: 4 kB / 438.8 MB, free: 492 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 8.493e-05/0.1034, allocations: 126.8 kB / 438.9 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1034, allocations: 7.906 kB / 438.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.1035, allocations: 24.81 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1035, allocations: 0 / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1035, allocations: 0 / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1035, allocations: 4 kB / 438.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.1039, allocations: 387.2 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1039, allocations: 12.36 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.1039, allocations: 8 kB / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1039, allocations: 0 / 439.3 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.1039, allocations: 4 kB / 439.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1039, allocations: 0 / 439.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.104, allocations: 4 kB / 439.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.1042, allocations: 204.2 kB / 439.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1042, allocations: 88.97 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1042, allocations: 8 kB / 439.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.1043, allocations: 3.984 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.1043, allocations: 4 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.1044, allocations: 4 kB / 439.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.627e-05/0.1045, allocations: 128.5 kB / 439.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1045, allocations: 0 / 439.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1047, allocations: 19.98 kB / 439.8 MB, free: 15.36 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.0009096/0.1056, allocations: 468.4 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1058, allocations: 51.92 kB / 440.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1058, allocations: 4.062 kB / 440.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.564e-05/0.1059, allocations: 35.92 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1062, allocations: 27.97 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.1065, allocations: 214.1 kB / 440.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1068, allocations: 0.7004 MB / 441.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.1069, allocations: 17.17 kB / 441.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.1069, allocations: 15.44 kB / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1069, allocations: 0 / 441.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of Templates: time 0.003582/0.1105, allocations: 1.591 MB / 442.9 MB, free: 12.22 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) Environment - environmentSimulation: