Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007189/0.007189, allocations: 102.9 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.001162/0.001161, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.635/1.635, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3643/0.3643, allocations: 38 MB / 307.9 MB, free: 10.11 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.001703/0.001703, allocations: 75.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4275, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003971/0.4315, allocations: 1.663 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.4331, allocations: 0.82 MB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.4332, allocations: 1.219 kB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.4336, allocations: 40.73 kB / 492 MB, free: 18.19 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.0002567/0.4339, allocations: 49.31 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.4342, allocations: 85.38 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.4344, allocations: 99.14 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.4345, allocations: 15.98 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.4347, allocations: 42.02 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.895e-05/0.4348, allocations: 33.56 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.4348, allocations: 4.312 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.4349, allocations: 38.41 kB / 492.4 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.435, allocations: 21.31 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/0.4351, allocations: 34.08 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.4353, allocations: 118.1 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4353, allocations: 1 kB / 492.6 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4353, allocations: 4 kB / 492.6 MB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.4353, allocations: 0 / 492.6 MB, free: 17.92 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.0005656/0.4359, allocations: 409.9 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.436, allocations: 13.34 kB / 493 MB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.436, allocations: 10.31 kB / 493 MB, free: 17.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.4363, allocations: 201.8 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4364, allocations: 3.719 kB / 493.2 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.4364, allocations: 14.78 kB / 493.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.4366, allocations: 56.8 kB / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4366, allocations: 0 / 493.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.4366, allocations: 5.594 kB / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4366, allocations: 1.219 kB / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.256e-05/0.4367, allocations: 18.38 kB / 493.3 MB, free: 17.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004056/0.4371, allocations: 285.8 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.4373, allocations: 59.61 kB / 493.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.4374, allocations: 24.58 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.4374, allocations: 1.062 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.4376, allocations: 70.8 kB / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.166e-06/0.4376, allocations: 0 / 493.7 MB, free: 16.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006652/0.4383, allocations: 179.6 kB / 493.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.4384, allocations: 53.67 kB / 493.9 MB, free: 16.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.4386, allocations: 184.2 kB / 494.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.4386, allocations: 26.86 kB / 494.2 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.4386, allocations: 101.1 kB / 494.3 MB, free: 16.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.4387, allocations: 25.61 kB / 494.3 MB, free: 16.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.4387, allocations: 25.66 kB / 494.3 MB, free: 16.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.4388, allocations: 324.9 kB / 494.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.4389, allocations: 22.75 kB / 494.6 MB, free: 16.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.439, allocations: 37.98 kB / 494.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.4391, allocations: 59.33 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4391, allocations: 0 / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.4393, allocations: 105.1 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4393, allocations: 4.984 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4394, allocations: 5.156 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4394, allocations: 1.156 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4395, allocations: 15.73 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4395, allocations: 0.5625 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.4396, allocations: 11.58 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.4396, allocations: 3.156 kB / 494.9 MB, free: 15.93 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 9.451e-05/0.4397, allocations: 129.6 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.4397, allocations: 9.781 kB / 495 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.4397, allocations: 13.86 kB / 495 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4398, allocations: 9.328 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4398, allocations: 5.062 kB / 495 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.4398, allocations: 4.5 kB / 495.1 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.4402, allocations: 389.6 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4402, allocations: 1.094 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.4402, allocations: 7.875 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4403, allocations: 1.703 kB / 495.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.4403, allocations: 6.844 kB / 495.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.4403, allocations: 5.031 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4403, allocations: 0.5625 kB / 495.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.4405, allocations: 205.5 kB / 495.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.4406, allocations: 88.38 kB / 495.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.4406, allocations: 6.562 kB / 495.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.4407, allocations: 7.328 kB / 495.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.4407, allocations: 13.27 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.4407, allocations: 4 kB / 495.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.4409, allocations: 143.4 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4409, allocations: 1.188 kB / 495.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.4411, allocations: 25.66 kB / 495.9 MB, free: 15.03 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.001028/0.4422, allocations: 468.8 kB / 496.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.4424, allocations: 59.31 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4424, allocations: 1.281 kB / 496.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.4425, allocations: 28.14 kB / 496.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.4428, allocations: 34.94 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.4433, allocations: 226.8 kB / 496.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.4435, allocations: 0.7088 MB / 497.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.4436, allocations: 12.92 kB / 497.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.4437, allocations: 15.91 kB / 497.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4437, allocations: 4 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of Templates: time 0.00604/0.4497, allocations: 1.73 MB / 499.2 MB, free: 13.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)