Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008434/0.008434, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001485/0.001485, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.608/1.608, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3819/0.3819, allocations: 39.95 MB / 309.8 MB, free: 9.305 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.001475/0.001475, allocations: 63.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3568, allocations: 56.88 MB / 492.7 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002942/0.3598, allocations: 1.681 MB / 494.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3618, allocations: 1.412 MB / 495.8 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.3619, allocations: 5.125 kB / 495.8 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.3622, allocations: 36.83 kB / 495.9 MB, free: 17.26 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.0002828/0.3625, allocations: 57.58 kB / 495.9 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.3628, allocations: 84.02 kB / 496 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.363, allocations: 96.23 kB / 496.1 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3631, allocations: 15.91 kB / 496.1 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3633, allocations: 46.31 kB / 496.2 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.3634, allocations: 47.91 kB / 496.2 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3635, allocations: 8.531 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3636, allocations: 58.06 kB / 496.3 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.3637, allocations: 15.92 kB / 496.3 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.3637, allocations: 34 kB / 496.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.364, allocations: 124.8 kB / 496.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.364, allocations: 0 / 496.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.364, allocations: 0 / 496.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.364, allocations: 0 / 496.4 MB, free: 16.98 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.0005952/0.3646, allocations: 408.2 kB / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.3647, allocations: 12.61 kB / 496.8 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.3647, allocations: 13.59 kB / 496.9 MB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3651, allocations: 201.5 kB / 497.1 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3651, allocations: 6.031 kB / 497.1 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.3651, allocations: 5.438 kB / 497.1 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3653, allocations: 67.33 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3654, allocations: 0.7031 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3654, allocations: 5.219 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3654, allocations: 5.406 kB / 497.1 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.3655, allocations: 21.44 kB / 497.2 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.366, allocations: 287.6 kB / 497.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3662, allocations: 63.89 kB / 497.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.149e-05/0.3663, allocations: 20.27 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.3663, allocations: 9.844 kB / 497.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.3665, allocations: 69.89 kB / 497.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.033e-06/0.3665, allocations: 1.438 kB / 497.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.3671, allocations: 163.7 kB / 497.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3671, allocations: 78.86 kB / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3673, allocations: 153.9 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.3673, allocations: 30.92 kB / 498 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.3674, allocations: 95.08 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.3674, allocations: 21 kB / 498.1 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.3674, allocations: 23.31 kB / 498.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.3675, allocations: 328.9 kB / 498.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.3676, allocations: 17.39 kB / 498.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.397e-05/0.3676, allocations: 40.89 kB / 498.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.3678, allocations: 66.7 kB / 498.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3678, allocations: 0 / 498.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001704/0.3679, allocations: 103.5 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.368, allocations: 6.219 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.368, allocations: 0.6562 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.368, allocations: 1.344 kB / 498.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.3681, allocations: 19.12 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3681, allocations: 1.375 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.678e-05/0.3682, allocations: 11.28 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3682, allocations: 3.297 kB / 498.7 MB, free: 14.93 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 7.222e-05/0.3683, allocations: 117.8 kB / 498.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.3683, allocations: 12.94 kB / 498.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.3683, allocations: 13.58 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3684, allocations: 1.219 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3684, allocations: 0 / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3684, allocations: 11.86 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.3688, allocations: 393.5 kB / 499.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3688, allocations: 0 / 499.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.3688, allocations: 13.59 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3688, allocations: 1.344 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3688, allocations: 6.344 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3688, allocations: 2.375 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3689, allocations: 4 kB / 499.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.3691, allocations: 203.6 kB / 499.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.3691, allocations: 85.36 kB / 499.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.3691, allocations: 10.8 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.3692, allocations: 3.359 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3692, allocations: 9.125 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3693, allocations: 4.953 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.3693, allocations: 114.8 kB / 499.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3693, allocations: 4 kB / 499.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3696, allocations: 34.58 kB / 499.8 MB, free: 14.05 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.001057/0.3707, allocations: 0.4991 MB / 0.4885 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3709, allocations: 64.89 kB / 0.4886 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3709, allocations: 0 / 0.4886 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.209e-05/0.371, allocations: 24.8 kB / 0.4886 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.3713, allocations: 34.2 kB / 0.4887 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.3717, allocations: 197.4 kB / 0.4889 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.3719, allocations: 0.6954 MB / 0.4895 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.368e-05/0.372, allocations: 14.02 kB / 0.4895 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.45e-05/0.372, allocations: 19.2 kB / 0.4896 GB, free: 12.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.372, allocations: 4 kB / 0.4896 GB, free: 12.74 MB / 382.1 MB Notification: Performance of Templates: time 0.005103/0.3771, allocations: 1.975 MB / 0.4915 GB, free: 12.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)