Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008497/0.008497, allocations: 102 kB / 15.73 MB, free: 6.051 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.001176/0.001176, allocations: 195 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.618/1.618, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.3615/0.3615, allocations: 39.95 MB / 309.8 MB, free: 9.629 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.001499/0.001499, allocations: 75.88 kB / 435.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3525, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004635/0.3572, allocations: 1.699 MB / 494.4 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002537/0.3597, allocations: 1.405 MB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3599, allocations: 1.312 kB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.3603, allocations: 36.53 kB / 495.9 MB, free: 17.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.0003302/0.3607, allocations: 61.73 kB / 495.9 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.361, allocations: 88.84 kB / 496 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3612, allocations: 98.94 kB / 496.1 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.3614, allocations: 12.14 kB / 496.1 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3615, allocations: 42.86 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.3617, allocations: 43.97 kB / 496.2 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3617, allocations: 3.469 kB / 496.2 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3619, allocations: 58.81 kB / 496.3 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.362, allocations: 23.64 kB / 496.3 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.362, allocations: 33.48 kB / 496.3 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3623, allocations: 125.5 kB / 496.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3623, allocations: 0 / 496.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3624, allocations: 1.344 kB / 496.4 MB, free: 17.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.3624, allocations: 0 / 496.4 MB, free: 17.01 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.0006036/0.363, allocations: 402.8 kB / 496.8 MB, free: 16.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.363, allocations: 13.39 kB / 496.8 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.3631, allocations: 9.125 kB / 496.9 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.3634, allocations: 213.4 kB / 497.1 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3635, allocations: 2.703 kB / 497.1 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3635, allocations: 9.531 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.3637, allocations: 71.36 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3637, allocations: 3.938 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3637, allocations: 1.25 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3637, allocations: 1.125 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.645e-05/0.3638, allocations: 18.44 kB / 497.2 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.3641, allocations: 291.3 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.3643, allocations: 56.81 kB / 497.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.3644, allocations: 20.8 kB / 497.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3644, allocations: 0 / 497.5 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.3646, allocations: 73.94 kB / 497.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3646, allocations: 5.344 kB / 497.6 MB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006184/0.3652, allocations: 163.9 kB / 497.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.3653, allocations: 78.05 kB / 497.8 MB, free: 15.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.3654, allocations: 158.6 kB / 498 MB, free: 15.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3655, allocations: 29.08 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.3655, allocations: 92.75 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3655, allocations: 25.42 kB / 498.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3656, allocations: 22.27 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.3657, allocations: 328.8 kB / 498.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.3657, allocations: 18.52 kB / 498.5 MB, free: 15.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-05/0.3658, allocations: 46.25 kB / 498.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3659, allocations: 69.19 kB / 498.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3659, allocations: 1.312 kB / 498.6 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001685/0.3661, allocations: 91.28 kB / 498.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3661, allocations: 6.719 kB / 498.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3662, allocations: 1.031 kB / 498.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3662, allocations: 1.984 kB / 498.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.431e-05/0.3663, allocations: 18.31 kB / 498.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3663, allocations: 1.906 kB / 498.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3663, allocations: 10.92 kB / 498.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3664, allocations: 2.844 kB / 498.7 MB, free: 14.97 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.346e-05/0.3664, allocations: 122.4 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3665, allocations: 11.77 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.3665, allocations: 13.61 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3665, allocations: 1.156 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3665, allocations: 1.406 kB / 498.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3666, allocations: 4.5 kB / 498.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.3669, allocations: 399.6 kB / 499.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.367, allocations: 1.406 kB / 499.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.194e-05/0.367, allocations: 8.297 kB / 499.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.367, allocations: 2.5 kB / 499.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.367, allocations: 6.359 kB / 499.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.367, allocations: 0 / 499.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.367, allocations: 5.438 kB / 499.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.3672, allocations: 200.2 kB / 499.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.3673, allocations: 84.19 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.3673, allocations: 11.81 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.3674, allocations: 3.344 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.3674, allocations: 4.875 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.3675, allocations: 3.859 kB / 499.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.008e-05/0.3676, allocations: 115.5 kB / 499.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3676, allocations: 1.312 kB / 499.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.3678, allocations: 30.47 kB / 499.8 MB, free: 14.1 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.001151/0.369, allocations: 0.5146 MB / 0.4885 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.3692, allocations: 56.62 kB / 0.4886 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3692, allocations: 1.125 kB / 0.4886 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.583e-05/0.3693, allocations: 28.72 kB / 0.4886 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.3697, allocations: 34.95 kB / 0.4887 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.3701, allocations: 186.5 kB / 0.4888 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.3703, allocations: 0.7026 MB / 0.4895 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.625e-05/0.3703, allocations: 14.5 kB / 0.4895 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.3704, allocations: 22.47 kB / 0.4896 GB, free: 12.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3704, allocations: 0 / 0.4896 GB, free: 12.78 MB / 382.1 MB Notification: Performance of Templates: time 0.005555/0.3759, allocations: 1.986 MB / 0.4915 GB, free: 12.54 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)