Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005525/0.005525, allocations: 101.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.001246/0.001246, allocations: 194.8 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.653/1.653, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.4099/0.4099, allocations: 37.99 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.001849/0.001849, allocations: 75.91 kB / 433.1 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4123, allocations: 56.45 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003029/0.4154, allocations: 1.671 MB / 491.2 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.4167, allocations: 0.8146 MB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.4168, allocations: 1.562 kB / 492 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004133/0.4172, allocations: 103.8 kB / 492.1 MB, free: 18.21 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.0002763/0.4175, allocations: 92.44 kB / 492.2 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.4178, allocations: 87.97 kB / 492.3 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.418, allocations: 109.6 kB / 492.4 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.4182, allocations: 16.48 kB / 492.4 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.4183, allocations: 52.14 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.4185, allocations: 63.27 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.4185, allocations: 4.344 kB / 492.5 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.4186, allocations: 41.86 kB / 492.6 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.4187, allocations: 25.95 kB / 492.6 MB, free: 18.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.4188, allocations: 41.48 kB / 492.6 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.4191, allocations: 126.9 kB / 492.7 MB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4191, allocations: 3.938 kB / 492.7 MB, free: 17.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4191, allocations: 0 / 492.7 MB, free: 17.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.4191, allocations: 0 / 492.7 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.0005494/0.4196, allocations: 429.5 kB / 493.2 MB, free: 17.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4197, allocations: 13.55 kB / 493.2 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.4198, allocations: 14.44 kB / 493.2 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.42, allocations: 217 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4201, allocations: 2.719 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4201, allocations: 11.66 kB / 493.4 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.4203, allocations: 53.22 kB / 493.5 MB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4203, allocations: 7.938 kB / 493.5 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4203, allocations: 2.281 kB / 493.5 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4203, allocations: 0 / 493.5 MB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/0.4204, allocations: 17.81 kB / 493.5 MB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.4208, allocations: 296.2 kB / 493.8 MB, free: 16.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.421, allocations: 59.94 kB / 493.8 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.475e-05/0.421, allocations: 19.58 kB / 493.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.4211, allocations: 1.906 kB / 493.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.4212, allocations: 68.98 kB / 493.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.4212, allocations: 1.031 kB / 493.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006256/0.4219, allocations: 178.5 kB / 494.1 MB, free: 16.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.4219, allocations: 60.77 kB / 494.2 MB, free: 16.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.4222, allocations: 238.6 kB / 494.4 MB, free: 16.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4222, allocations: 30.8 kB / 494.4 MB, free: 16.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.4223, allocations: 106.3 kB / 494.5 MB, free: 16.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.4223, allocations: 29.97 kB / 494.6 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.4223, allocations: 25.97 kB / 494.6 MB, free: 16.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.4224, allocations: 328.4 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.748e-05/0.4225, allocations: 21.03 kB / 494.9 MB, free: 16.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.4226, allocations: 39.19 kB / 495 MB, free: 15.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.4227, allocations: 57.98 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4227, allocations: 4 kB / 495 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001728/0.4229, allocations: 101.9 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4229, allocations: 6.047 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4229, allocations: 1.094 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4229, allocations: 1.781 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.423, allocations: 15.95 kB / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.423, allocations: 0 / 495.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.4231, allocations: 7.266 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.4231, allocations: 11.88 kB / 495.2 MB, free: 15.88 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.246e-05/0.4232, allocations: 134.6 kB / 495.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.4232, allocations: 14.8 kB / 495.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.4233, allocations: 21.8 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4233, allocations: 1.672 kB / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4233, allocations: 0 / 495.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4233, allocations: 5.828 kB / 495.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.4237, allocations: 399.8 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.4237, allocations: 4.031 kB / 495.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.429e-05/0.4238, allocations: 12.94 kB / 495.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4238, allocations: 1.094 kB / 495.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4238, allocations: 6.438 kB / 495.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4238, allocations: 1 kB / 495.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4238, allocations: 1.562 kB / 495.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.424, allocations: 204.9 kB / 496 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.4241, allocations: 94.02 kB / 496.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.4241, allocations: 5.453 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.4242, allocations: 7.266 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.4242, allocations: 6.078 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4242, allocations: 4.766 kB / 496.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.4244, allocations: 185 kB / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4244, allocations: 0 / 496.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.4247, allocations: 26.53 kB / 496.3 MB, free: 14.96 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.001013/0.4257, allocations: 469.6 kB / 496.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.4259, allocations: 59.08 kB / 496.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.426, allocations: 1.281 kB / 496.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.4261, allocations: 36.02 kB / 496.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.4265, allocations: 31.48 kB / 496.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006008/0.4271, allocations: 261.4 kB / 497.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.4273, allocations: 0.7176 MB / 497.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.868e-05/0.4273, allocations: 21.45 kB / 497.9 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.4274, allocations: 19.3 kB / 497.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4274, allocations: 1.188 kB / 497.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Templates: time 0.005803/0.4332, allocations: 1.75 MB / 499.6 MB, free: 13.44 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)