Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007614/0.007614, allocations: 102.3 kB / 15.73 MB, free: 6.031 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.001579/0.001579, allocations: 197 kB / 16.67 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3757/0.3757, allocations: 39.94 MB / 309.8 MB, free: 9.391 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.001797/0.001797, allocations: 67.89 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.45, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004849/0.455, allocations: 1.7 MB / 494.4 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.4567, allocations: 0.8037 MB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.4569, allocations: 4 kB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004457/0.4574, allocations: 54.41 kB / 495.3 MB, free: 17.75 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.0004118/0.4578, allocations: 59 kB / 495.3 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.4582, allocations: 76.47 kB / 495.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.4586, allocations: 103.5 kB / 495.5 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4587, allocations: 15.11 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.4589, allocations: 42.67 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.459, allocations: 34.02 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.459, allocations: 3.844 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.4592, allocations: 38.42 kB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.4593, allocations: 28.42 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.4594, allocations: 47.12 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.4597, allocations: 137 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4597, allocations: 5.781 kB / 495.9 MB, free: 17.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.4597, allocations: 0 / 495.9 MB, free: 17.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4597, allocations: 0 / 495.9 MB, free: 17.47 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.0007018/0.4604, allocations: 443.1 kB / 496.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4605, allocations: 13.52 kB / 496.3 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.4606, allocations: 16.41 kB / 496.3 MB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.461, allocations: 222.4 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.461, allocations: 10.7 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.461, allocations: 5.938 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4612, allocations: 54.88 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4612, allocations: 0 / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4612, allocations: 5.969 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4613, allocations: 1.219 kB / 496.6 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.736e-05/0.4613, allocations: 21.17 kB / 496.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.4618, allocations: 295.3 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.462, allocations: 60.55 kB / 497 MB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.4621, allocations: 19.23 kB / 497 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.4621, allocations: 1.688 kB / 497 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.4623, allocations: 73.44 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.4623, allocations: 0 / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006391/0.4629, allocations: 189.3 kB / 497.3 MB, free: 16.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.463, allocations: 51.41 kB / 497.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.4633, allocations: 269.7 kB / 497.6 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4634, allocations: 26.77 kB / 497.6 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.4634, allocations: 116.3 kB / 497.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.4635, allocations: 25.97 kB / 497.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.4636, allocations: 21.61 kB / 497.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.4637, allocations: 337.4 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.125e-05/0.4637, allocations: 22 kB / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.4638, allocations: 34.97 kB / 498.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.4639, allocations: 57.41 kB / 498.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4639, allocations: 1.156 kB / 498.2 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002133/0.4641, allocations: 102 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.4642, allocations: 12.3 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4642, allocations: 0 / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.4642, allocations: 1.625 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4643, allocations: 18.52 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.4643, allocations: 2.453 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.4644, allocations: 9.766 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.4644, allocations: 2.812 kB / 498.3 MB, free: 15.39 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 0.0001182/0.4645, allocations: 139.4 kB / 498.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4646, allocations: 15.5 kB / 498.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.697e-05/0.4646, allocations: 26.41 kB / 498.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4647, allocations: 5.625 kB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4647, allocations: 0 / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.4647, allocations: 6.219 kB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.4651, allocations: 402.6 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4652, allocations: 1.125 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.4652, allocations: 11.94 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4652, allocations: 1.281 kB / 498.9 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4652, allocations: 14.45 kB / 499 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4652, allocations: 1.375 kB / 499 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4652, allocations: 1.812 kB / 499 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.4655, allocations: 198.9 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.4655, allocations: 89.84 kB / 499.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.4656, allocations: 9.953 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.4657, allocations: 11.08 kB / 499.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4657, allocations: 5.984 kB / 499.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.4657, allocations: 3.234 kB / 499.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.466, allocations: 211.6 kB / 499.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.466, allocations: 1.188 kB / 499.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000299/0.4663, allocations: 25.95 kB / 499.5 MB, free: 14.46 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.001156/0.4674, allocations: 467.5 kB / 500 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.4677, allocations: 61 kB / 0.4883 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4677, allocations: 7.875 kB / 0.4883 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.4678, allocations: 24.59 kB / 0.4883 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.4682, allocations: 38.48 kB / 0.4884 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.4688, allocations: 300.5 kB / 0.4887 GB, free: 13.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.469, allocations: 0.7184 MB / 0.4894 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.4691, allocations: 24.28 kB / 0.4894 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.4692, allocations: 20.98 kB / 0.4894 GB, free: 13.13 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4692, allocations: 0 / 0.4894 GB, free: 13.13 MB / 382.1 MB Notification: Performance of Templates: time 0.006596/0.4758, allocations: 1.756 MB / 0.4911 GB, free: 12.93 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)