Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007605/0.007605, allocations: 101.5 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.001641/0.001642, allocations: 188.6 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.629/1.629, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3853/0.3853, allocations: 39.95 MB / 309.8 MB, free: 9.254 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.001784/0.001784, allocations: 75.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.474, allocations: 56.88 MB / 492.7 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.004282/0.4784, allocations: 1.644 MB / 494.4 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.4802, allocations: 0.792 MB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4803, allocations: 1.031 kB / 495.2 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.4808, allocations: 50.45 kB / 495.2 MB, free: 17.69 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.0002733/0.4811, allocations: 54.7 kB / 495.3 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.4813, allocations: 86.53 kB / 495.4 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.4816, allocations: 88.89 kB / 495.4 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.4816, allocations: 12.81 kB / 495.4 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.4817, allocations: 41.17 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.759e-05/0.4818, allocations: 28.11 kB / 495.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.4819, allocations: 7.812 kB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.482, allocations: 35.16 kB / 495.6 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.482, allocations: 25.78 kB / 495.6 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.4821, allocations: 37.84 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.4824, allocations: 113.5 kB / 495.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4824, allocations: 1.125 kB / 495.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4824, allocations: 0 / 495.7 MB, free: 17.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4824, allocations: 3.938 kB / 495.7 MB, free: 17.43 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.000571/0.483, allocations: 432.7 kB / 496.2 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.483, allocations: 12.2 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.4831, allocations: 10.78 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.4834, allocations: 226.7 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.4834, allocations: 384 / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.4834, allocations: 7.797 kB / 496.4 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4836, allocations: 46.09 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.4836, allocations: 0 / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4836, allocations: 0.8438 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4836, allocations: 1.375 kB / 496.5 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.4837, allocations: 18.09 kB / 496.5 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.4839, allocations: 197.9 kB / 496.7 MB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.4841, allocations: 53.69 kB / 496.7 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.4841, allocations: 22.88 kB / 496.7 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.4842, allocations: 2.484 kB / 496.7 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.4843, allocations: 70.86 kB / 496.8 MB, free: 16.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.4844, allocations: 5.312 kB / 496.8 MB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002994/0.4847, allocations: 92.55 kB / 496.9 MB, free: 16.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.4847, allocations: 53.53 kB / 497 MB, free: 16.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.485, allocations: 257.6 kB / 497.2 MB, free: 16.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.485, allocations: 27.23 kB / 497.2 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.4851, allocations: 114.5 kB / 497.4 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.4851, allocations: 15.97 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.4852, allocations: 18.81 kB / 497.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.423e-05/0.4853, allocations: 333.2 kB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.4853, allocations: 13.95 kB / 497.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.4854, allocations: 30.23 kB / 497.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.822e-05/0.4855, allocations: 47.08 kB / 497.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4855, allocations: 0 / 497.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001608/0.4857, allocations: 93.27 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.4857, allocations: 5.969 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4857, allocations: 0 / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4857, allocations: 1.406 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.4858, allocations: 10.33 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.4858, allocations: 5.891 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.4859, allocations: 2.859 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.4859, allocations: 7.062 kB / 497.9 MB, free: 15.52 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 9.643e-05/0.486, allocations: 131.8 kB / 498.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.486, allocations: 19.22 kB / 498.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.4861, allocations: 18.38 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4861, allocations: 0 / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4861, allocations: 1.281 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.4861, allocations: 1.266 kB / 498.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.4863, allocations: 204.8 kB / 498.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4863, allocations: 3.938 kB / 498.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.4863, allocations: 4.984 kB / 498.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4863, allocations: 0 / 498.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4864, allocations: 2.094 kB / 498.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4864, allocations: 0 / 498.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4864, allocations: 6.078 kB / 498.3 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.4866, allocations: 114.7 kB / 498.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.4866, allocations: 83.23 kB / 498.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.4867, allocations: 1.906 kB / 498.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.669e-05/0.4867, allocations: 3.328 kB / 498.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.4868, allocations: 3.984 kB / 498.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.4868, allocations: 7.406 kB / 498.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.487, allocations: 199.7 kB / 498.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.487, allocations: 3.938 kB / 498.7 MB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.4872, allocations: 19.19 kB / 498.7 MB, free: 14.84 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.0009639/0.4882, allocations: 422.9 kB / 499.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.4884, allocations: 36.27 kB / 499.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4884, allocations: 0 / 499.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.529e-05/0.4885, allocations: 27.39 kB / 499.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4887, allocations: 32.42 kB / 499.2 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.4892, allocations: 262.5 kB / 499.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.4894, allocations: 0.7129 MB / 0.4885 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.044e-05/0.4894, allocations: 13.56 kB / 0.4885 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.111e-05/0.4895, allocations: 15.98 kB / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4895, allocations: 4 kB / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.005425/0.4949, allocations: 1.521 MB / 0.49 GB, free: 13.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)