Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01108/0.01108, allocations: 100.8 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.002115/0.002115, allocations: 195.7 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.626/1.626, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.4286/0.4286, allocations: 39.95 MB / 309.8 MB, free: 9.289 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.001636/0.001636, allocations: 72.41 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4093, allocations: 56.87 MB / 492.7 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003365/0.4127, allocations: 1.782 MB / 494.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.415, allocations: 1.486 MB / 496 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.4151, allocations: 5.188 kB / 496 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.4155, allocations: 48.92 kB / 496 MB, free: 17.02 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.0003496/0.4158, allocations: 92.81 kB / 496.1 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.4162, allocations: 139.1 kB / 496.3 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.4166, allocations: 182 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.4167, allocations: 14.69 kB / 496.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.4168, allocations: 77.77 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.4171, allocations: 72.41 kB / 496.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.348e-05/0.4171, allocations: 7.562 kB / 496.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.4173, allocations: 65.89 kB / 496.7 MB, free: 16.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.647e-05/0.4174, allocations: 29.56 kB / 496.7 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.4175, allocations: 66.09 kB / 496.8 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.4178, allocations: 171.7 kB / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4178, allocations: 1.75 kB / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4178, allocations: 0 / 496.9 MB, free: 16.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.4179, allocations: 0 / 496.9 MB, free: 16.57 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.0007103/0.4186, allocations: 470.3 kB / 497.4 MB, free: 16.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4186, allocations: 13.42 kB / 497.4 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.4187, allocations: 15.78 kB / 497.4 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.4191, allocations: 243.5 kB / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.4191, allocations: 11.73 kB / 497.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4191, allocations: 7.156 kB / 497.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.4194, allocations: 103 kB / 497.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4194, allocations: 0 / 497.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.4195, allocations: 2.562 kB / 497.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4195, allocations: 0 / 497.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.4196, allocations: 37.34 kB / 497.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.4199, allocations: 209.7 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.4202, allocations: 105 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.4203, allocations: 47.3 kB / 498.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.4204, allocations: 1.672 kB / 498.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.4206, allocations: 105.9 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.908e-06/0.4207, allocations: 3.938 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005543/0.4212, allocations: 167.7 kB / 498.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.984e-05/0.4213, allocations: 135.6 kB / 498.6 MB, free: 15.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.4216, allocations: 218.3 kB / 498.8 MB, free: 15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4216, allocations: 26.92 kB / 498.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.4217, allocations: 114.8 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.4218, allocations: 27.16 kB / 498.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.4218, allocations: 29.22 kB / 499 MB, free: 14.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.422, allocations: 333.7 kB / 499.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.4221, allocations: 26.95 kB / 499.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4222, allocations: 64.2 kB / 499.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.4224, allocations: 91.05 kB / 499.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4225, allocations: 1.344 kB / 499.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003492/0.4228, allocations: 142.8 kB / 499.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.4229, allocations: 6.562 kB / 499.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.4229, allocations: 2.25 kB / 499.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.4229, allocations: 1.25 kB / 499.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.4231, allocations: 24.11 kB / 499.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.4231, allocations: 1.656 kB / 499.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.627e-05/0.4232, allocations: 18.95 kB / 499.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4232, allocations: 4.391 kB / 499.7 MB, free: 14.28 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001429/0.4233, allocations: 134.9 kB / 499.8 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.4234, allocations: 17.53 kB / 499.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.4235, allocations: 16.02 kB / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4235, allocations: 1.25 kB / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4235, allocations: 5.844 kB / 499.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4235, allocations: 6.062 kB / 499.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.4238, allocations: 217.7 kB / 0.4883 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4238, allocations: 5.344 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.4238, allocations: 7.547 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4238, allocations: 1.562 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.4238, allocations: 2.891 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.4239, allocations: 1.031 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.4239, allocations: 1.656 kB / 0.4884 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.4243, allocations: 175.3 kB / 0.4885 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.4243, allocations: 89.95 kB / 0.4886 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.4244, allocations: 6.5 kB / 0.4886 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.4244, allocations: 9.797 kB / 0.4886 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.4245, allocations: 6.703 kB / 0.4886 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.4245, allocations: 5.203 kB / 0.4886 GB, free: 13.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.4247, allocations: 162.3 kB / 0.4888 GB, free: 13.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4247, allocations: 0 / 0.4888 GB, free: 13.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.425, allocations: 37.64 kB / 0.4888 GB, free: 13.57 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001132/0.4261, allocations: 466.6 kB / 0.4893 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003057/0.4265, allocations: 81.66 kB / 0.4894 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4265, allocations: 0 / 0.4894 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.4266, allocations: 41.03 kB / 0.4894 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.427, allocations: 62.83 kB / 0.4895 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.4277, allocations: 269.4 kB / 0.4897 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.4279, allocations: 0.7249 MB / 0.4904 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.428, allocations: 26.88 kB / 0.4904 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.4281, allocations: 24.45 kB / 0.4905 GB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4281, allocations: 1.094 kB / 0.4905 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Templates: time 0.008469/0.4366, allocations: 2.686 MB / 0.4931 GB, free: 11.72 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)