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.006373/0.006373, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001122/0.001123, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.3619/0.3619, allocations: 38 MB / 307.9 MB, free: 10.13 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.001911/0.00191, allocations: 75.88 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003437/0.3799, allocations: 1.67 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3812, allocations: 0.8074 MB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.854e-05/0.3813, allocations: 1.094 kB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.3817, allocations: 41.97 kB / 492 MB, free: 18.22 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.0002837/0.382, allocations: 48.2 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.3823, allocations: 83.97 kB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.3826, allocations: 96.39 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3827, allocations: 15.47 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3828, allocations: 46.3 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.3829, allocations: 25.67 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3829, allocations: 3.812 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.383, allocations: 42.81 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.3831, allocations: 25.75 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.3832, allocations: 29.22 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3834, allocations: 113.2 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3834, allocations: 3.938 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3834, allocations: 4 kB / 492.6 MB, free: 17.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3834, allocations: 2.344 kB / 492.6 MB, free: 17.96 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.0005025/0.3839, allocations: 401.4 kB / 493 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.384, allocations: 15.02 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.384, allocations: 9.125 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3843, allocations: 214 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.3843, allocations: 1.719 kB / 493.2 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.3843, allocations: 10.25 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3845, allocations: 61.33 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3845, allocations: 2.828 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3846, allocations: 0 / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3846, allocations: 1.094 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/0.3846, allocations: 21.53 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.385, allocations: 285.4 kB / 493.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3852, allocations: 64.12 kB / 493.6 MB, free: 16.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.3853, allocations: 20.28 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3853, allocations: 1.312 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.3855, allocations: 66.05 kB / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3855, allocations: 0 / 493.7 MB, free: 16.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006398/0.3862, allocations: 175.5 kB / 493.9 MB, free: 16.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3862, allocations: 57.45 kB / 493.9 MB, free: 16.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3864, allocations: 168.7 kB / 494.1 MB, free: 16.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3864, allocations: 27.5 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.3865, allocations: 98.3 kB / 494.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.3866, allocations: 27.05 kB / 494.3 MB, free: 16.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.3866, allocations: 21.47 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.3867, allocations: 326 kB / 494.6 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.645e-05/0.3868, allocations: 25.86 kB / 494.6 MB, free: 16.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.3869, allocations: 38.84 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.387, allocations: 57.8 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.387, allocations: 0 / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.3872, allocations: 109.4 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3873, allocations: 5.344 kB / 494.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3873, allocations: 5.156 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3873, allocations: 1.125 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.3874, allocations: 16.09 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3874, allocations: 3.938 kB / 494.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.3875, allocations: 12.14 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3875, allocations: 6.062 kB / 494.9 MB, free: 15.95 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 8.057e-05/0.3876, allocations: 124.3 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3876, allocations: 10.12 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.3876, allocations: 13.22 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3877, allocations: 5.156 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3877, allocations: 0.75 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3877, allocations: 5.156 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.3881, allocations: 387.8 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3881, allocations: 1.406 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.3882, allocations: 9.531 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3882, allocations: 1.125 kB / 495.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3882, allocations: 9.734 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3882, allocations: 5.375 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3883, allocations: 1.781 kB / 495.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3885, allocations: 200.4 kB / 495.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.529e-05/0.3886, allocations: 88.09 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3886, allocations: 6.188 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.3887, allocations: 7.828 kB / 495.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.3887, allocations: 8.328 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.3887, allocations: 5.156 kB / 495.7 MB, free: 15.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3889, allocations: 132.6 kB / 495.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3889, allocations: 0 / 495.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3891, allocations: 22.06 kB / 495.9 MB, free: 15.08 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.001118/0.3903, allocations: 477.4 kB / 496.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3905, allocations: 60.39 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3905, allocations: 3.938 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.3906, allocations: 28.38 kB / 496.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.391, allocations: 31.61 kB / 496.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.3915, allocations: 215.3 kB / 496.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.3917, allocations: 0.6993 MB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.3918, allocations: 12.97 kB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.3918, allocations: 16.14 kB / 497.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3918, allocations: 0 / 497.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.005875/0.3977, allocations: 1.693 MB / 499.1 MB, free: 13.6 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)