Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007994/0.007994, allocations: 102 kB / 15.73 MB, free: 6.043 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.001464/0.001464, allocations: 195 kB / 16.67 MB, free: 5.965 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.573/1.573, 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.3295/0.3295, allocations: 38 MB / 307.9 MB, free: 10.01 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.002071/0.002071, allocations: 71.89 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003198/0.3703, allocations: 1.673 MB / 491.2 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.3717, allocations: 0.8083 MB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.3718, allocations: 4.594 kB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.3722, allocations: 42.52 kB / 492 MB, free: 18.3 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.0002334/0.3724, allocations: 52.81 kB / 492.1 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.3727, allocations: 81.64 kB / 492.2 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.373, allocations: 94.81 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.3731, allocations: 16.14 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3732, allocations: 40.73 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.3734, allocations: 34.45 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3734, allocations: 4.031 kB / 492.4 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3735, allocations: 42.55 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.3736, allocations: 21.94 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.789e-05/0.3736, allocations: 35.47 kB / 492.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.3739, allocations: 110.5 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3739, allocations: 1.641 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3739, allocations: 0 / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3739, allocations: 0 / 492.6 MB, free: 18.04 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.0006218/0.3746, allocations: 422.7 kB / 493 MB, free: 17.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.3746, allocations: 13.48 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/0.3747, allocations: 14.28 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.3751, allocations: 215.6 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3751, allocations: 1.406 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.3751, allocations: 12.25 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3753, allocations: 58.14 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3754, allocations: 0 / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3754, allocations: 1.375 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.3754, allocations: 4 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.3755, allocations: 17.64 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.3759, allocations: 283.9 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3761, allocations: 61.72 kB / 493.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.3761, allocations: 22.8 kB / 493.7 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3762, allocations: 1.406 kB / 493.7 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.3763, allocations: 69.48 kB / 493.7 MB, free: 16.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.3764, allocations: 5.078 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006302/0.377, allocations: 176.5 kB / 493.9 MB, free: 16.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.377, allocations: 56.56 kB / 494 MB, free: 16.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.3773, allocations: 193.9 kB / 494.2 MB, free: 16.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3774, allocations: 31.98 kB / 494.2 MB, free: 16.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.3774, allocations: 103.8 kB / 494.3 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.3775, allocations: 25.92 kB / 494.3 MB, free: 16.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.3776, allocations: 21.62 kB / 494.3 MB, free: 16.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3777, allocations: 335.7 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.461e-05/0.3778, allocations: 18.31 kB / 494.7 MB, free: 16.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.3779, allocations: 34.33 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.378, allocations: 61.25 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.378, allocations: 1.25 kB / 494.8 MB, free: 16.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001858/0.3782, allocations: 101.1 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.3782, allocations: 4.719 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3782, allocations: 2.031 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3783, allocations: 1.094 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.3784, allocations: 15.27 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3784, allocations: 5.125 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.3785, allocations: 15.23 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.3785, allocations: 2.344 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 9.354e-05/0.3786, allocations: 127.6 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.3786, allocations: 12.38 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.3787, allocations: 20.75 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3787, allocations: 1.125 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3787, allocations: 0.5625 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3787, allocations: 5.828 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.3791, allocations: 394.6 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3791, allocations: 5.281 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.3792, allocations: 8.719 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3792, allocations: 1.531 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3792, allocations: 5.906 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3792, allocations: 0.5625 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3792, allocations: 1.438 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.3794, allocations: 212.9 kB / 495.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.3795, allocations: 84.59 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3795, allocations: 6.469 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.3796, allocations: 2.734 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.3796, allocations: 10.33 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.3797, allocations: 4.312 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.3798, allocations: 150.5 kB / 496 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3798, allocations: 4 kB / 496 MB, free: 15.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.3801, allocations: 22.78 kB / 496 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.001164/0.3813, allocations: 474 kB / 496.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.3815, allocations: 61.09 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3815, allocations: 0 / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.3816, allocations: 33.36 kB / 496.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.382, allocations: 29.59 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.3826, allocations: 229.4 kB / 496.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.3828, allocations: 0.7113 MB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.3829, allocations: 12.7 kB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.3829, allocations: 21.2 kB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.383, allocations: 0 / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Templates: time 0.005992/0.3889, allocations: 1.707 MB / 499.2 MB, free: 13.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1)