Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, 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.001011/0.001011, 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.264/1.264, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.2751/0.2751, allocations: 39.99 MB / 310.4 MB, free: 9.59 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.0005435/0.0005436, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.0943, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001715/0.09606, allocations: 1.347 MB / 438.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.09706, allocations: 0.7149 MB / 438.8 MB, free: 228 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.09713, allocations: 4 kB / 438.8 MB, free: 224 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.09737, allocations: 51.8 kB / 438.9 MB, free: 172 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.09753, allocations: 51.86 kB / 438.9 MB, free: 120 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.09774, allocations: 83.77 kB / 439 MB, free: 36 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.09788, allocations: 59.86 kB / 439.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.09794, allocations: 15.97 kB / 439.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.09801, allocations: 39.84 kB / 439.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.09809, allocations: 31.84 kB / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.09811, allocations: 0 / 439.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.09817, allocations: 16 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.274e-05/0.09821, allocations: 19.97 kB / 439.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.09826, allocations: 41.58 kB / 439.2 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.09839, allocations: 80.05 kB / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.0984, allocations: 0 / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09841, allocations: 0 / 439.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.09842, allocations: 0 / 439.3 MB, free: 15.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004137/0.09884, allocations: 402.8 kB / 439.7 MB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.84e-05/0.09887, allocations: 8.031 kB / 439.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.28e-05/0.09891, allocations: 7.906 kB / 439.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.09911, allocations: 202.9 kB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.09913, allocations: 0 / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.09915, allocations: 0 / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.09926, allocations: 49.67 kB / 440 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.09928, allocations: 4 kB / 440 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.0993, allocations: 4 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.09931, allocations: 3.953 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.09937, allocations: 15.92 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.09954, allocations: 181.7 kB / 440.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.09968, allocations: 50.62 kB / 440.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.0997, allocations: 7.938 kB / 440.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.09986, allocations: 63.48 kB / 440.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.09987, allocations: 0 / 440.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002354/0.1001, allocations: 97.5 kB / 440.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1002, allocations: 59.36 kB / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1003, allocations: 174.2 kB / 440.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1003, allocations: 29.7 kB / 440.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.1004, allocations: 108.1 kB / 440.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1004, allocations: 7.812 kB / 440.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.1004, allocations: 4 kB / 440.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.1005, allocations: 322.8 kB / 441.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/0.1006, allocations: 15.98 kB / 441.1 MB, free: 13.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.1006, allocations: 29.7 kB / 441.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.1007, allocations: 12 kB / 441.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1007, allocations: 7.938 kB / 441.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001387/0.1008, allocations: 77.84 kB / 441.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.1009, allocations: 4 kB / 441.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1009, allocations: 8.062 kB / 441.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1009, allocations: 0 / 441.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.101, allocations: 15.92 kB / 441.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.101, allocations: 0 / 441.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.617e-05/0.101, allocations: 11.86 kB / 441.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.101, allocations: 4 kB / 441.3 MB, free: 13.56 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 (7): * Single equations (assignments): 7 * 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 7.771e-05/0.1011, allocations: 125.9 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.1011, allocations: 11.84 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.1012, allocations: 12.31 kB / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1012, allocations: 0 / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1012, allocations: 0 / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1012, allocations: 3.984 kB / 441.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1013, allocations: 193.5 kB / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1013, allocations: 0 / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.1014, allocations: 4 kB / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1014, allocations: 0 / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1014, allocations: 4 kB / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1014, allocations: 4 kB / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1014, allocations: 0 / 441.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.1016, allocations: 116.8 kB / 441.7 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.1016, allocations: 88.91 kB / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1016, allocations: 4 kB / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.1017, allocations: 4 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.1017, allocations: 8 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.1017, allocations: 3.984 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.424e-05/0.1018, allocations: 140.1 kB / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1018, allocations: 0 / 442 MB, free: 12.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.102, allocations: 27.98 kB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008128/0.1029, allocations: 409 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.103, allocations: 35.92 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.103, allocations: 4.062 kB / 442.4 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.1031, allocations: 20 kB / 442.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.1033, allocations: 27.92 kB / 442.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.1036, allocations: 213 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.1038, allocations: 0.7043 MB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.457e-05/0.1039, allocations: 16.53 kB / 443.4 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1039, allocations: 15.44 kB / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1039, allocations: 0 / 443.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Templates: time 0.003404/0.1073, allocations: 1.372 MB / 444.8 MB, free: 9.895 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) Environment - environmentSimulation: