Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009345/0.009345, allocations: 103.6 kB / 15.73 MB, free: 6.012 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.002802/0.002802, allocations: 195.2 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.1 MB / 222.5 MB, free: 4.355 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.3701/0.3701, allocations: 38 MB / 307.9 MB, free: 10.38 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.001445/0.001445, allocations: 79.89 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3672, allocations: 56.45 MB / 489.5 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004286/0.3716, allocations: 1.672 MB / 491.2 MB, free: 18.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.3734, allocations: 0.8074 MB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.508e-05/0.3736, allocations: 1.219 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.374, allocations: 41.89 kB / 492 MB, free: 18.14 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.3743, allocations: 48.84 kB / 492.1 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.3747, allocations: 83.86 kB / 492.2 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3749, allocations: 95.45 kB / 492.3 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3751, allocations: 16.23 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3752, allocations: 44.78 kB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.3754, allocations: 30.31 kB / 492.3 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.3754, allocations: 3.688 kB / 492.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.3756, allocations: 43.44 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.3757, allocations: 21.09 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.3758, allocations: 29.94 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.3761, allocations: 108.1 kB / 492.5 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.3761, allocations: 1.578 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3761, allocations: 4 kB / 492.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3761, allocations: 3.938 kB / 492.6 MB, free: 17.88 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.0006625/0.3768, allocations: 408.4 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3768, allocations: 16.61 kB / 493 MB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.3769, allocations: 9.875 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3773, allocations: 213.5 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.3773, allocations: 2.297 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.3773, allocations: 6.219 kB / 493.2 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3775, allocations: 58.41 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3776, allocations: 0 / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3776, allocations: 2.453 kB / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3776, allocations: 0 / 493.3 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.3777, allocations: 21.84 kB / 493.3 MB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.3781, allocations: 285.3 kB / 493.6 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3784, allocations: 60.23 kB / 493.6 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.3785, allocations: 21.14 kB / 493.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3785, allocations: 0 / 493.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.3787, allocations: 70.61 kB / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.3787, allocations: 0 / 493.7 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007014/0.3794, allocations: 171.6 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3795, allocations: 57.25 kB / 493.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3797, allocations: 169.3 kB / 494.1 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.3797, allocations: 30.8 kB / 494.1 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.3797, allocations: 95.25 kB / 494.2 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3798, allocations: 25.84 kB / 494.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.3799, allocations: 26.45 kB / 494.3 MB, free: 16.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.39e-05/0.3799, allocations: 326.1 kB / 494.6 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.38, allocations: 20.44 kB / 494.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.3801, allocations: 39.88 kB / 494.6 MB, free: 16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3803, allocations: 60.8 kB / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3803, allocations: 1.188 kB / 494.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002697/0.3806, allocations: 105.6 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3806, allocations: 5.656 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3806, allocations: 0.6562 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.3807, allocations: 5.156 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.3808, allocations: 19.55 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3808, allocations: 1.219 kB / 494.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.3809, allocations: 15 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3809, allocations: 2.219 kB / 494.9 MB, free: 15.88 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.381, allocations: 132.9 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3811, allocations: 8.281 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.3811, allocations: 15.73 kB / 495 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3811, allocations: 5.312 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3812, allocations: 0 / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3812, allocations: 3.938 kB / 495 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.3817, allocations: 384.9 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3818, allocations: 0 / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.3818, allocations: 17.95 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3818, allocations: 1.188 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3819, allocations: 6.125 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.3819, allocations: 0.5156 kB / 495.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3819, allocations: 5.344 kB / 495.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.3822, allocations: 200.2 kB / 495.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.3822, allocations: 85.27 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.3823, allocations: 6.844 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.3824, allocations: 2.5 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3825, allocations: 5.984 kB / 495.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.3825, allocations: 11.88 kB / 495.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3827, allocations: 132.6 kB / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3827, allocations: 0 / 495.9 MB, free: 15.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004517/0.3831, allocations: 26.06 kB / 495.9 MB, free: 15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.3846, allocations: 475.4 kB / 496.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3848, allocations: 56.77 kB / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3849, allocations: 0 / 496.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.385, allocations: 32.5 kB / 496.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.3855, allocations: 31.03 kB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.3861, allocations: 215 kB / 496.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3863, allocations: 0.703 MB / 497.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.358e-05/0.3864, allocations: 13.48 kB / 497.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.3865, allocations: 16.19 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3865, allocations: 1.562 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.007597/0.3941, allocations: 1.724 MB / 499.1 MB, free: 13.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)