Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005547/0.005547, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001314/0.001314, allocations: 203.2 kB / 16.68 MB, free: 5.969 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.457/1.457, allocations: 205.1 MB / 222.6 MB, free: 4.316 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.3485/0.3485, allocations: 37.99 MB / 307.9 MB, free: 10.43 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.0015/0.0015, allocations: 75.89 kB / 433.1 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3634, allocations: 56.46 MB / 489.5 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003077/0.3666, allocations: 1.664 MB / 491.2 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3678, allocations: 0.8118 MB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.3679, allocations: 0.9688 kB / 492 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.3683, allocations: 92.06 kB / 492.1 MB, free: 18.09 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.0002739/0.3686, allocations: 76.72 kB / 492.2 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.3689, allocations: 88.39 kB / 492.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3691, allocations: 107.5 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3692, allocations: 16.28 kB / 492.4 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3693, allocations: 56.28 kB / 492.4 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3694, allocations: 63.67 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3695, allocations: 3.281 kB / 492.5 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3696, allocations: 37.59 kB / 492.5 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.3696, allocations: 30.09 kB / 492.6 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.3697, allocations: 33.45 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3699, allocations: 124.7 kB / 492.7 MB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3699, allocations: 0 / 492.7 MB, free: 17.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.37, allocations: 4 kB / 492.7 MB, free: 17.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.37, allocations: 0 / 492.7 MB, free: 17.81 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.0005295/0.3705, allocations: 421.8 kB / 493.1 MB, free: 17.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3705, allocations: 13.73 kB / 493.1 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.3706, allocations: 15.47 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.3708, allocations: 212.7 kB / 493.4 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.3709, allocations: 2.344 kB / 493.4 MB, free: 17.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3709, allocations: 10.28 kB / 493.4 MB, free: 17.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3711, allocations: 60.47 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3711, allocations: 1.406 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3711, allocations: 0.8906 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3711, allocations: 0.9688 kB / 493.4 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.459e-05/0.3712, allocations: 17.98 kB / 493.5 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.3715, allocations: 294 kB / 493.7 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.3717, allocations: 63.91 kB / 493.8 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.3718, allocations: 23.19 kB / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3718, allocations: 2.219 kB / 493.8 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.3719, allocations: 66.53 kB / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3719, allocations: 0 / 493.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005562/0.3725, allocations: 178 kB / 494.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3725, allocations: 52.5 kB / 494.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3728, allocations: 218 kB / 494.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.3728, allocations: 27.55 kB / 494.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.3728, allocations: 109.9 kB / 494.5 MB, free: 16.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3729, allocations: 24.83 kB / 494.5 MB, free: 16.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3729, allocations: 27.39 kB / 494.5 MB, free: 16.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.373, allocations: 328 kB / 494.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.571e-05/0.373, allocations: 23.73 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.3731, allocations: 39.66 kB / 494.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3732, allocations: 53.88 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3732, allocations: 0 / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.3734, allocations: 106 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3734, allocations: 6.828 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3734, allocations: 4.031 kB / 495.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3735, allocations: 5.859 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.3736, allocations: 15.03 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.3736, allocations: 1.281 kB / 495.1 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.3736, allocations: 11.19 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3736, allocations: 7.25 kB / 495.1 MB, free: 15.77 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.535e-05/0.3737, allocations: 128.8 kB / 495.2 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.3738, allocations: 14.62 kB / 495.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.3738, allocations: 20.92 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3738, allocations: 5.094 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3738, allocations: 3.938 kB / 495.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3738, allocations: 5.75 kB / 495.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.3742, allocations: 393.3 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3742, allocations: 1.438 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.3743, allocations: 7.953 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3743, allocations: 2.141 kB / 495.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3743, allocations: 6.031 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3743, allocations: 5.531 kB / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3743, allocations: 192 / 495.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3745, allocations: 210 kB / 495.9 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.3745, allocations: 88.27 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3746, allocations: 8.125 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-05/0.3747, allocations: 2.344 kB / 496 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.3747, allocations: 14.08 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3747, allocations: 3.688 kB / 496 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.3749, allocations: 170.9 kB / 496.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3749, allocations: 0 / 496.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3751, allocations: 19.36 kB / 496.2 MB, free: 14.87 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.0009935/0.3761, allocations: 474.1 kB / 496.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.3763, allocations: 64.89 kB / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3764, allocations: 0 / 496.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.3764, allocations: 29.12 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.3768, allocations: 31.41 kB / 496.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.3772, allocations: 258.5 kB / 497 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3774, allocations: 0.707 MB / 497.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.072e-05/0.3775, allocations: 20.44 kB / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.3775, allocations: 16.69 kB / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3775, allocations: 0 / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Templates: time 0.004988/0.3825, allocations: 1.72 MB / 499.5 MB, free: 13.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)