Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008413/0.008413, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.00172/0.00172, allocations: 199.9 kB / 16.67 MB, free: 5.977 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.647/1.647, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.4303/0.4303, allocations: 38 MB / 307.9 MB, free: 9.926 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.001487/0.001487, allocations: 71.89 kB / 433 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 56.46 MB / 489.5 MB, free: 20.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002945/0.3681, allocations: 1.771 MB / 491.3 MB, free: 18.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3696, allocations: 0.8784 MB / 492.1 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.659e-05/0.3697, allocations: 4.812 kB / 492.2 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007488/0.3705, allocations: 311.5 kB / 492.5 MB, free: 18.27 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.0004751/0.371, allocations: 205 kB / 492.7 MB, free: 18.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.3714, allocations: 143.3 kB / 492.8 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.3717, allocations: 243.4 kB / 493 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.3718, allocations: 18.95 kB / 493.1 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.3721, allocations: 129.8 kB / 493.2 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.3724, allocations: 189.2 kB / 493.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/0.3724, allocations: 6.969 kB / 493.4 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3725, allocations: 44.73 kB / 493.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.3727, allocations: 142.8 kB / 493.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.3729, allocations: 147.1 kB / 493.7 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.3734, allocations: 363.9 kB / 494.1 MB, free: 17.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3734, allocations: 0 / 494.1 MB, free: 17.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3734, allocations: 0 / 494.1 MB, free: 17.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.3735, allocations: 4.938 kB / 494.1 MB, free: 17.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00144/0.3749, allocations: 0.7304 MB / 494.8 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.127e-05/0.375, allocations: 12.45 kB / 494.8 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.3753, allocations: 50.25 kB / 494.8 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3764, allocations: 440.8 kB / 495.3 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3765, allocations: 7.5 kB / 495.3 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.3765, allocations: 7.172 kB / 495.3 MB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.3767, allocations: 90.75 kB / 495.4 MB, free: 16.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3767, allocations: 9.078 kB / 495.4 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3767, allocations: 0.8906 kB / 495.4 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3767, allocations: 1.188 kB / 495.4 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.3768, allocations: 30.45 kB / 495.4 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.3772, allocations: 372.5 kB / 495.8 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.3775, allocations: 110.6 kB / 495.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.849e-05/0.3776, allocations: 42.52 kB / 495.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.3776, allocations: 1.688 kB / 495.9 MB, free: 16.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.3778, allocations: 117 kB / 496.1 MB, free: 16.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3778, allocations: 0 / 496.1 MB, free: 16.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004906/0.3783, allocations: 198.9 kB / 496.2 MB, free: 16.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.3784, allocations: 78.81 kB / 496.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3796, allocations: 1.032 MB / 497.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3796, allocations: 35.08 kB / 497.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3797, allocations: 229.3 kB / 497.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.3798, allocations: 34.53 kB / 497.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.3798, allocations: 25.5 kB / 497.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3799, allocations: 369.1 kB / 498 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.38, allocations: 27.44 kB / 498.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/0.3801, allocations: 60.64 kB / 498.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3803, allocations: 89.86 kB / 498.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3803, allocations: 0 / 498.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002795/0.3806, allocations: 176.7 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3806, allocations: 8.469 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3806, allocations: 1.344 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3806, allocations: 3.359 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3808, allocations: 19.33 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3808, allocations: 2.203 kB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.25e-05/0.3809, allocations: 9.812 kB / 498.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3809, allocations: 8.938 kB / 498.4 MB, free: 14.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0002098/0.3811, allocations: 224.3 kB / 498.6 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.3812, allocations: 51.05 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/0.3813, allocations: 65.48 kB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3813, allocations: 1.281 kB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3813, allocations: 1.25 kB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3813, allocations: 0.6094 kB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3816, allocations: 344.1 kB / 499.1 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3816, allocations: 0.75 kB / 499.1 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.3817, allocations: 10.88 kB / 499.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.3817, allocations: 1.938 kB / 499.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3817, allocations: 3.578 kB / 499.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3817, allocations: 0.75 kB / 499.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3817, allocations: 5.281 kB / 499.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.382, allocations: 202.4 kB / 499.3 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.3821, allocations: 137.1 kB / 499.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.3822, allocations: 11.86 kB / 499.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.3823, allocations: 4.234 kB / 499.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.3823, allocations: 14.84 kB / 499.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.3824, allocations: 8.969 kB / 499.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008388/0.3832, allocations: 0.7746 MB / 0.4885 GB, free: 13.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3832, allocations: 0 / 0.4885 GB, free: 13.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.3835, allocations: 41.47 kB / 0.4886 GB, free: 13.81 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009029/0.3844, allocations: 416.5 kB / 0.489 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.3847, allocations: 79.55 kB / 0.4891 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3847, allocations: 5.5 kB / 0.4891 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3848, allocations: 40.64 kB / 0.4891 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.3852, allocations: 80.5 kB / 0.4892 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3864, allocations: 0.8597 MB / 0.49 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.3867, allocations: 0.8449 MB / 0.4908 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.3869, allocations: 56.05 kB / 0.4909 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.3869, allocations: 30.98 kB / 0.4909 GB, free: 12.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3869, allocations: 1.312 kB / 0.4909 GB, free: 12.3 MB / 382.1 MB Notification: Performance of Templates: time 0.009804/0.3967, allocations: 3.749 MB / 0.4946 GB, free: 11.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)