Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006416/0.006416, allocations: 105.9 kB / 15.74 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.001377/0.001377, allocations: 191.8 kB / 16.67 MB, free: 5.957 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.62/1.62, 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.1+maint.om/package.mo): time 0.3774/0.3774, allocations: 38.01 MB / 307.9 MB, free: 10.34 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.001899/0.001899, allocations: 79.89 kB / 433.1 MB, free: 5.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4317, allocations: 56.45 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.004903/0.4367, allocations: 1.667 MB / 491.2 MB, free: 18.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.4386, allocations: 0.8158 MB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.4388, allocations: 1.281 kB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.4393, allocations: 40.3 kB / 492 MB, free: 18.16 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.0002778/0.4396, allocations: 46.61 kB / 492.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.44, allocations: 88.3 kB / 492.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.4402, allocations: 99.48 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4403, allocations: 15.17 kB / 492.3 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.4405, allocations: 42.09 kB / 492.3 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4406, allocations: 29.88 kB / 492.3 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.819e-05/0.4406, allocations: 4.031 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.4408, allocations: 42.11 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.543e-05/0.4409, allocations: 18.14 kB / 492.4 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.441, allocations: 30.06 kB / 492.4 MB, free: 17.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.4413, allocations: 118.4 kB / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4413, allocations: 1.156 kB / 492.6 MB, free: 17.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4413, allocations: 3.938 kB / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4413, allocations: 0 / 492.6 MB, free: 17.9 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.0006341/0.442, allocations: 409.2 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.442, allocations: 14.14 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.4421, allocations: 9 kB / 493 MB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.4425, allocations: 207.1 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4425, allocations: 1.875 kB / 493.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.4425, allocations: 14.67 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4427, allocations: 58.92 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4427, allocations: 3.984 kB / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4427, allocations: 0 / 493.3 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4428, allocations: 5.281 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.488e-05/0.4429, allocations: 18.45 kB / 493.3 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.4433, allocations: 286.3 kB / 493.6 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.4435, allocations: 63.77 kB / 493.6 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.4435, allocations: 21.14 kB / 493.6 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.4436, allocations: 1.312 kB / 493.6 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.4438, allocations: 65.39 kB / 493.7 MB, free: 16.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4438, allocations: 0 / 493.7 MB, free: 16.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007476/0.4445, allocations: 176.4 kB / 493.9 MB, free: 16.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.4446, allocations: 53.78 kB / 493.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.4449, allocations: 189.4 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4449, allocations: 26.77 kB / 494.1 MB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.4449, allocations: 102.4 kB / 494.2 MB, free: 16.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.445, allocations: 25.88 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.445, allocations: 22.19 kB / 494.3 MB, free: 16.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4452, allocations: 329.9 kB / 494.6 MB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.4452, allocations: 22.09 kB / 494.6 MB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.4453, allocations: 39.56 kB / 494.7 MB, free: 16.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.4455, allocations: 57.75 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4455, allocations: 4 kB / 494.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.4457, allocations: 101.9 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4457, allocations: 9.312 kB / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4457, allocations: 0 / 494.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.4457, allocations: 2.766 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4459, allocations: 14.95 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.4459, allocations: 1.375 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.302e-05/0.446, allocations: 10.78 kB / 494.9 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.446, allocations: 7.078 kB / 494.9 MB, free: 15.89 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.0001108/0.4461, allocations: 126.4 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.4461, allocations: 10.17 kB / 495 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.4462, allocations: 18.61 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4462, allocations: 1.734 kB / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.4462, allocations: 0 / 495 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4462, allocations: 5.75 kB / 495 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.4467, allocations: 389.5 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4467, allocations: 0 / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.4468, allocations: 10.22 kB / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4468, allocations: 0 / 495.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4468, allocations: 13.97 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.4468, allocations: 2.094 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.4468, allocations: 1.562 kB / 495.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.4471, allocations: 207.4 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.4471, allocations: 85.61 kB / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4471, allocations: 9.984 kB / 495.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.4472, allocations: 6.609 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.4473, allocations: 9.469 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.4473, allocations: 5.734 kB / 495.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.4475, allocations: 143.2 kB / 495.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4475, allocations: 0 / 495.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.4478, allocations: 25.89 kB / 495.9 MB, free: 15.01 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.001244/0.449, allocations: 471.5 kB / 496.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.4493, allocations: 60.16 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4493, allocations: 1.062 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.4494, allocations: 28.98 kB / 496.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.4498, allocations: 41.36 kB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.4504, allocations: 227.3 kB / 496.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.4506, allocations: 0.7007 MB / 497.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.257e-05/0.4507, allocations: 16.94 kB / 497.5 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.4508, allocations: 16.73 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4508, allocations: 4 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of Templates: time 0.006247/0.457, allocations: 1.723 MB / 499.2 MB, free: 13.51 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)