Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005857/0.005857, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001261/0.001261, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.713/1.713, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.4316/0.4316, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.00162/0.001621, allocations: 67.91 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4111, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003733/0.4149, allocations: 1.669 MB / 491.2 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.4167, allocations: 0.8115 MB / 492 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.4168, allocations: 1.625 kB / 492 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004943/0.4174, allocations: 84.89 kB / 492.1 MB, free: 18.27 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.0003694/0.4178, allocations: 74.08 kB / 492.2 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.4182, allocations: 84.12 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.4185, allocations: 109.9 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.4187, allocations: 11.64 kB / 492.4 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.4188, allocations: 54.41 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.4189, allocations: 52.02 kB / 492.5 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.419, allocations: 3.312 kB / 492.5 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.4191, allocations: 47.08 kB / 492.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.4192, allocations: 19.17 kB / 492.5 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.4193, allocations: 37.2 kB / 492.6 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.4196, allocations: 119.1 kB / 492.7 MB, free: 18.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4196, allocations: 4 kB / 492.7 MB, free: 18 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.4196, allocations: 1.031 kB / 492.7 MB, free: 18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.4196, allocations: 0 / 492.7 MB, free: 18 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.0005658/0.4202, allocations: 420.7 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4202, allocations: 13.33 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.117e-05/0.4203, allocations: 9.875 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.4206, allocations: 210.9 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.4206, allocations: 3.125 kB / 493.3 MB, free: 17.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.4207, allocations: 11.28 kB / 493.3 MB, free: 17.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4208, allocations: 52.78 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4208, allocations: 0.75 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4209, allocations: 1.219 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.4209, allocations: 0 / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.421, allocations: 22.23 kB / 493.4 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.4214, allocations: 292.8 kB / 493.7 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.4216, allocations: 64.84 kB / 493.8 MB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.4216, allocations: 19.95 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.4217, allocations: 5.547 kB / 493.8 MB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.4219, allocations: 69.39 kB / 493.9 MB, free: 16.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.4219, allocations: 0 / 493.9 MB, free: 16.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006551/0.4225, allocations: 173.8 kB / 494 MB, free: 16.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.4226, allocations: 56.88 kB / 494.1 MB, free: 16.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.4229, allocations: 218.7 kB / 494.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4229, allocations: 26.5 kB / 494.3 MB, free: 16.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.423, allocations: 108.5 kB / 494.4 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.423, allocations: 21.77 kB / 494.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.4231, allocations: 22.86 kB / 494.5 MB, free: 16.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.4232, allocations: 334.3 kB / 494.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.4233, allocations: 18.28 kB / 494.8 MB, free: 16.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.4233, allocations: 35.39 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.4235, allocations: 61.19 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4235, allocations: 1.844 kB / 494.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002338/0.4237, allocations: 100.3 kB / 495 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4238, allocations: 10.06 kB / 495 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4238, allocations: 4.734 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.4238, allocations: 1.594 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.4239, allocations: 18.7 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.424, allocations: 1.781 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.424, allocations: 6.094 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.424, allocations: 3.281 kB / 495.1 MB, free: 15.98 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.000123/0.4242, allocations: 128 kB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.4242, allocations: 15.39 kB / 495.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.4243, allocations: 19.16 kB / 495.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4243, allocations: 1.625 kB / 495.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4243, allocations: 0 / 495.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4243, allocations: 5.438 kB / 495.2 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.4249, allocations: 395.2 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4249, allocations: 1.719 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.021e-05/0.425, allocations: 8.719 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.425, allocations: 1.25 kB / 495.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.425, allocations: 10.36 kB / 495.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.425, allocations: 1.344 kB / 495.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.425, allocations: 9.125 kB / 495.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.4253, allocations: 201.3 kB / 495.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.4254, allocations: 85.53 kB / 495.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.4254, allocations: 13.72 kB / 495.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.4255, allocations: 7.234 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.4256, allocations: 10.28 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.4256, allocations: 3.688 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.4258, allocations: 156.5 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4258, allocations: 0 / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003685/0.4262, allocations: 25.42 kB / 496.1 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.00117/0.4274, allocations: 473.2 kB / 496.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.4276, allocations: 52.08 kB / 496.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4276, allocations: 0 / 496.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.4277, allocations: 33.61 kB / 496.7 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.4281, allocations: 30.84 kB / 496.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005182/0.4286, allocations: 243.2 kB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.4288, allocations: 0.7039 MB / 497.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.328e-05/0.4289, allocations: 16.55 kB / 497.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.4289, allocations: 21.34 kB / 497.7 MB, free: 13.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4289, allocations: 7.938 kB / 497.7 MB, free: 13.78 MB / 382.1 MB Notification: Performance of Templates: time 0.005927/0.4348, allocations: 1.719 MB / 499.4 MB, free: 13.57 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)