Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01078/0.01078, allocations: 102.1 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.002427/0.002427, allocations: 194.4 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.328 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.3673/0.3673, allocations: 37.99 MB / 307.9 MB, free: 10.31 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.001797/0.001797, allocations: 75.91 kB / 433.1 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4114, allocations: 56.45 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003638/0.415, allocations: 1.632 MB / 491.1 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4167, allocations: 0.7938 MB / 491.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.4168, allocations: 1 kB / 491.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.4173, allocations: 54.17 kB / 492 MB, free: 18.23 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.0003102/0.4176, allocations: 58.69 kB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.4179, allocations: 75.03 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.4181, allocations: 91.23 kB / 492.2 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.4182, allocations: 9.359 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4183, allocations: 36.91 kB / 492.3 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.4184, allocations: 29.44 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.4184, allocations: 2.906 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.4186, allocations: 38.88 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.4186, allocations: 27.17 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.4187, allocations: 38.56 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.419, allocations: 117.1 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.419, allocations: 3.938 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.419, allocations: 0 / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.419, allocations: 0 / 492.5 MB, free: 17.98 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006158/0.4196, allocations: 427.8 kB / 492.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4197, allocations: 13.52 kB / 492.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.4197, allocations: 19.03 kB / 493 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.42, allocations: 221.1 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.42, allocations: 2.828 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.4201, allocations: 6.188 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.4202, allocations: 53.52 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4202, allocations: 1.312 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.4202, allocations: 0 / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4203, allocations: 0.9375 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-05/0.4203, allocations: 14.47 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.4206, allocations: 195.3 kB / 493.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4207, allocations: 56.16 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.4208, allocations: 23.88 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.4208, allocations: 0.6562 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.421, allocations: 65.59 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.421, allocations: 0 / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002955/0.4213, allocations: 100.2 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.4213, allocations: 53.84 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.4216, allocations: 257.3 kB / 494 MB, free: 16.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.4216, allocations: 30.83 kB / 494 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.4217, allocations: 110.5 kB / 494.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.4218, allocations: 11.55 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.4218, allocations: 24.91 kB / 494.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.4219, allocations: 327.6 kB / 494.5 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.162e-05/0.4219, allocations: 13.98 kB / 494.5 MB, free: 16.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.789e-05/0.422, allocations: 30.95 kB / 494.5 MB, free: 16.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.4221, allocations: 46.44 kB / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4221, allocations: 0 / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001853/0.4223, allocations: 89.56 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4224, allocations: 5.844 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4224, allocations: 4.562 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4224, allocations: 5 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.4225, allocations: 15.66 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4225, allocations: 1.156 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.4226, allocations: 6.344 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.4226, allocations: 2.344 kB / 494.7 MB, free: 16.07 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 (7): * Single equations (assignments): 7 * 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 8.967e-05/0.4227, allocations: 137.9 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.4227, allocations: 13.34 kB / 494.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.4227, allocations: 22.48 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4227, allocations: 0.7969 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4228, allocations: 1 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4228, allocations: 0 / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.4229, allocations: 202.5 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4229, allocations: 0 / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.4229, allocations: 4.422 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4229, allocations: 0 / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.423, allocations: 2.359 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.423, allocations: 4 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.423, allocations: 0.6562 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.4232, allocations: 118.8 kB / 495.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.4232, allocations: 89.25 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.4233, allocations: 0.7031 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.4233, allocations: 3.625 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.4233, allocations: 3.328 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.4234, allocations: 11.03 kB / 495.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.4236, allocations: 191 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4236, allocations: 0 / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.4238, allocations: 22.69 kB / 495.5 MB, free: 15.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001159/0.425, allocations: 422.6 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4252, allocations: 44.11 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4252, allocations: 1.156 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.4253, allocations: 25.94 kB / 496 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.4256, allocations: 33.67 kB / 496 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.4263, allocations: 257.8 kB / 496.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.4266, allocations: 0.7124 MB / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.799e-05/0.4266, allocations: 10.61 kB / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.4267, allocations: 23.36 kB / 497 MB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4267, allocations: 0 / 497 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Templates: time 0.005933/0.4326, allocations: 1.528 MB / 498.5 MB, free: 13.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)