Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008441/0.008441, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001948/0.001949, allocations: 187.1 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.791/1.791, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3726/0.3726, allocations: 39.95 MB / 309.8 MB, free: 9.629 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.001758/0.001758, allocations: 75.89 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4124, allocations: 56.86 MB / 492.7 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003877/0.4164, allocations: 1.787 MB / 494.5 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.4187, allocations: 1.484 MB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.872e-05/0.4188, allocations: 5.094 kB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004006/0.4193, allocations: 53.11 kB / 496 MB, free: 17.2 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.0003288/0.4196, allocations: 89.17 kB / 496.1 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.42, allocations: 139.4 kB / 496.3 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.4203, allocations: 181.4 kB / 496.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.477e-05/0.4203, allocations: 14.45 kB / 496.4 MB, free: 16.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4205, allocations: 77.84 kB / 496.5 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.4207, allocations: 77.27 kB / 496.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.4208, allocations: 6.906 kB / 496.6 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.4209, allocations: 66.5 kB / 496.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.878e-05/0.421, allocations: 30 kB / 496.7 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.4211, allocations: 64.62 kB / 496.8 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.4214, allocations: 168.5 kB / 496.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4214, allocations: 0.5156 kB / 496.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4214, allocations: 0 / 496.9 MB, free: 16.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4214, allocations: 1.156 kB / 496.9 MB, free: 16.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000647/0.4221, allocations: 478 kB / 497.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4221, allocations: 12.98 kB / 497.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.4222, allocations: 17.62 kB / 497.4 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.4225, allocations: 238.8 kB / 497.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4225, allocations: 6.547 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.4226, allocations: 8.781 kB / 497.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.4228, allocations: 101.5 kB / 497.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4228, allocations: 0 / 497.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.4228, allocations: 1.922 kB / 497.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.4228, allocations: 1.469 kB / 497.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.423, allocations: 29.62 kB / 497.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.4232, allocations: 213.6 kB / 498 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.4235, allocations: 109.9 kB / 498.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.4236, allocations: 41.94 kB / 498.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.4236, allocations: 2.062 kB / 498.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.4238, allocations: 112.1 kB / 498.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/0.4239, allocations: 1.5 kB / 498.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.000467/0.4243, allocations: 167.9 kB / 498.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.4244, allocations: 131.7 kB / 498.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.4246, allocations: 216.9 kB / 498.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.4247, allocations: 29.3 kB / 498.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.4247, allocations: 117.4 kB / 498.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.148e-05/0.4248, allocations: 23.58 kB / 498.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.4248, allocations: 33.06 kB / 499 MB, free: 15.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.4249, allocations: 328.3 kB / 499.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.425, allocations: 27.83 kB / 499.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.4251, allocations: 67.64 kB / 499.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.4253, allocations: 92.73 kB / 499.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4253, allocations: 0 / 499.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000305/0.4256, allocations: 142.7 kB / 499.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4257, allocations: 6.328 kB / 499.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4257, allocations: 4 kB / 499.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4257, allocations: 2.219 kB / 499.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.4258, allocations: 21.03 kB / 499.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4259, allocations: 1.875 kB / 499.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.426, allocations: 14.27 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.426, allocations: 8.781 kB / 499.7 MB, free: 14.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001189/0.4261, allocations: 134.1 kB / 499.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.4261, allocations: 17.16 kB / 499.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.853e-05/0.4262, allocations: 21.77 kB / 499.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.4262, allocations: 1.469 kB / 499.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.4262, allocations: 0 / 499.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4262, allocations: 6.656 kB / 499.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.4265, allocations: 217.9 kB / 0.4883 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4265, allocations: 0 / 0.4883 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.4265, allocations: 13.11 kB / 0.4884 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.4265, allocations: 0 / 0.4884 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.4265, allocations: 3.875 kB / 0.4884 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4266, allocations: 1.781 kB / 0.4884 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4266, allocations: 0.6562 kB / 0.4884 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000364/0.4269, allocations: 176.9 kB / 0.4885 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.427, allocations: 88.92 kB / 0.4886 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.427, allocations: 3.422 kB / 0.4886 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.4271, allocations: 13.64 kB / 0.4886 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.4272, allocations: 6.5 kB / 0.4886 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.532e-05/0.4272, allocations: 9.453 kB / 0.4887 GB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001923/0.4274, allocations: 165.6 kB / 0.4888 GB, free: 13.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4274, allocations: 0 / 0.4888 GB, free: 13.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.4277, allocations: 41.08 kB / 0.4888 GB, free: 13.75 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001216/0.4289, allocations: 451.8 kB / 0.4893 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003246/0.4293, allocations: 85.23 kB / 0.4894 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4293, allocations: 1.031 kB / 0.4894 GB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.4294, allocations: 41.06 kB / 0.4894 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.4299, allocations: 58.08 kB / 0.4895 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.4305, allocations: 265.7 kB / 0.4897 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.4308, allocations: 0.7204 MB / 0.4904 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.4309, allocations: 32.86 kB / 0.4904 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.431, allocations: 24.12 kB / 0.4905 GB, free: 12.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.431, allocations: 4 kB / 0.4905 GB, free: 12.42 MB / 382.1 MB Notification: Performance of Templates: time 0.00818/0.4392, allocations: 2.691 MB / 0.4931 GB, free: 11.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)