Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01178/0.01178, allocations: 100.3 kB / 15.73 MB, free: 6.477 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.002305/0.002306, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.681/1.681, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3917/0.3917, allocations: 38 MB / 307.9 MB, free: 10.07 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.001926/0.001927, allocations: 67.91 kB / 433.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3776, allocations: 56.46 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.00359/0.3813, allocations: 1.672 MB / 491.2 MB, free: 18.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3827, allocations: 0.8123 MB / 492 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.3828, allocations: 0 / 492 MB, free: 18.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.3832, allocations: 35.66 kB / 492 MB, free: 18.29 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.0003053/0.3835, allocations: 61.28 kB / 492.1 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3838, allocations: 80.97 kB / 492.2 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.384, allocations: 98.48 kB / 492.3 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3842, allocations: 12.02 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.3843, allocations: 41.64 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3845, allocations: 30.36 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3845, allocations: 3.781 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3846, allocations: 46.19 kB / 492.4 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.3847, allocations: 22.12 kB / 492.4 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.3848, allocations: 29.14 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.385, allocations: 118.8 kB / 492.6 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3851, allocations: 1.125 kB / 492.6 MB, free: 18.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.3851, allocations: 0.6094 kB / 492.6 MB, free: 18.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3851, allocations: 0 / 492.6 MB, free: 18.02 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.0006668/0.3858, allocations: 405.2 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3858, allocations: 14.11 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.3859, allocations: 13.08 kB / 493 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3862, allocations: 210.3 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3862, allocations: 2.812 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.3862, allocations: 9.766 kB / 493.2 MB, free: 17.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3864, allocations: 54.08 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3864, allocations: 1.828 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3864, allocations: 0 / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3865, allocations: 5.047 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.229e-05/0.3866, allocations: 22.89 kB / 493.3 MB, free: 17.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.387, allocations: 293.6 kB / 493.6 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.3872, allocations: 52.36 kB / 493.6 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.836e-05/0.3873, allocations: 20.06 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3873, allocations: 1.969 kB / 493.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3875, allocations: 72.58 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.354e-06/0.3875, allocations: 1.156 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006125/0.3881, allocations: 176.4 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3881, allocations: 57.2 kB / 493.9 MB, free: 16.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.3883, allocations: 187.8 kB / 494.1 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3884, allocations: 27.84 kB / 494.2 MB, free: 16.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.3884, allocations: 98.47 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3885, allocations: 26.16 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.3885, allocations: 26.5 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.3886, allocations: 329.9 kB / 494.6 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.153e-05/0.3887, allocations: 17.62 kB / 494.6 MB, free: 16.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/0.3887, allocations: 35.81 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3889, allocations: 60.84 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3889, allocations: 4 kB / 494.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.3891, allocations: 94.03 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3891, allocations: 5.109 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3891, allocations: 1.188 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3891, allocations: 1.125 kB / 494.8 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3892, allocations: 24.11 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3892, allocations: 1.594 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.3893, allocations: 10.52 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3893, allocations: 6.688 kB / 494.9 MB, free: 16.02 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.994e-05/0.3894, allocations: 129.8 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.3894, allocations: 9.594 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.3895, allocations: 14.02 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3895, allocations: 1.969 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3895, allocations: 1 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3895, allocations: 3.938 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.39, allocations: 386.4 kB / 495.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.39, allocations: 4.031 kB / 495.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.39, allocations: 13.55 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.39, allocations: 1.188 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3901, allocations: 5.859 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3901, allocations: 1.797 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3901, allocations: 5.234 kB / 495.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.3903, allocations: 212.1 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.3904, allocations: 88.77 kB / 495.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3904, allocations: 6.516 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.3905, allocations: 3.438 kB / 495.7 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.3906, allocations: 5.859 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3906, allocations: 8.109 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.3907, allocations: 142.8 kB / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3907, allocations: 5.531 kB / 495.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.391, allocations: 25.98 kB / 495.9 MB, free: 15.12 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.001145/0.3922, allocations: 467.8 kB / 496.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3924, allocations: 55.77 kB / 496.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3924, allocations: 0 / 496.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.3925, allocations: 32.83 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.3929, allocations: 34.58 kB / 496.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.3934, allocations: 218.6 kB / 496.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3936, allocations: 0.7052 MB / 497.4 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.321e-05/0.3937, allocations: 25.41 kB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.3937, allocations: 19.97 kB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3937, allocations: 1.125 kB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Templates: time 0.005444/0.3992, allocations: 1.722 MB / 499.2 MB, free: 13.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1)