Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009765/0.009765, allocations: 97.69 kB / 15.73 MB, free: 5.961 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.001699/0.001699, allocations: 195 kB / 16.67 MB, free: 5.883 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.6 MB, free: 4.445 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.4261/0.4261, allocations: 39.94 MB / 309.9 MB, free: 9.406 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.002448/0.002448, allocations: 71.91 kB / 435.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3914, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00354/0.395, allocations: 1.684 MB / 494.4 MB, free: 18.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3966, allocations: 0.8107 MB / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.3967, allocations: 1.469 kB / 495.2 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.3972, allocations: 88.91 kB / 495.3 MB, free: 17.7 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.0002984/0.3975, allocations: 74.42 kB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3978, allocations: 86.05 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.398, allocations: 102.2 kB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.3981, allocations: 20.3 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3982, allocations: 51.91 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3984, allocations: 62.77 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3984, allocations: 3.406 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3985, allocations: 46.73 kB / 495.7 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.3986, allocations: 21.52 kB / 495.8 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.3987, allocations: 40.91 kB / 495.8 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.399, allocations: 117.8 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.399, allocations: 1.375 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.399, allocations: 4 kB / 495.9 MB, free: 17.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.399, allocations: 0 / 495.9 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005846/0.3996, allocations: 431.7 kB / 496.3 MB, free: 17.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.3996, allocations: 12.95 kB / 496.4 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.3997, allocations: 13.97 kB / 496.4 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.4, allocations: 216.1 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4, allocations: 3.516 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.4001, allocations: 6.688 kB / 496.6 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.4003, allocations: 57.91 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4003, allocations: 0 / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4003, allocations: 1 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4003, allocations: 1.25 kB / 496.7 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.781e-05/0.4004, allocations: 22.72 kB / 496.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.4009, allocations: 288.9 kB / 497 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4011, allocations: 63.94 kB / 497 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.481e-05/0.4012, allocations: 21.64 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.4012, allocations: 1.469 kB / 497 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.4014, allocations: 69 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.4014, allocations: 0 / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006695/0.4021, allocations: 174.2 kB / 497.3 MB, free: 16.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.4022, allocations: 60.05 kB / 497.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.4025, allocations: 227.5 kB / 497.6 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.4025, allocations: 27.11 kB / 497.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.787e-05/0.4026, allocations: 108.9 kB / 497.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.4026, allocations: 26.22 kB / 497.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.4027, allocations: 23.25 kB / 497.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.4028, allocations: 326.5 kB / 498.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.4029, allocations: 21.11 kB / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.403, allocations: 40.09 kB / 498.1 MB, free: 15.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.4031, allocations: 73.66 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.4031, allocations: 1.188 kB / 498.2 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000202/0.4033, allocations: 97.58 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.4034, allocations: 5.031 kB / 498.3 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.4034, allocations: 5.25 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4034, allocations: 5.312 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.4035, allocations: 18.33 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4035, allocations: 2.609 kB / 498.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.4036, allocations: 10.78 kB / 498.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.4036, allocations: 2.812 kB / 498.3 MB, free: 15.37 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 0.0001215/0.4037, allocations: 128.8 kB / 498.5 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.4038, allocations: 13.42 kB / 498.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.4038, allocations: 17.33 kB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4038, allocations: 5.188 kB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4039, allocations: 1.156 kB / 498.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.4039, allocations: 4.453 kB / 498.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.4044, allocations: 398.2 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4044, allocations: 0 / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.4044, allocations: 9.969 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4044, allocations: 0 / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4044, allocations: 5.984 kB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4045, allocations: 5.703 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4045, allocations: 5.656 kB / 498.9 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.4047, allocations: 200.5 kB / 499.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.4047, allocations: 85.61 kB / 499.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.4048, allocations: 6.812 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.4048, allocations: 6.734 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.4049, allocations: 5.328 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4049, allocations: 8.672 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001735/0.4051, allocations: 171 kB / 499.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 3.938 kB / 499.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.4054, allocations: 26.62 kB / 499.4 MB, free: 14.47 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.001184/0.4066, allocations: 478.7 kB / 499.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4068, allocations: 59.52 kB / 499.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4068, allocations: 1.188 kB / 499.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.829e-05/0.4069, allocations: 32.78 kB / 500 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.4073, allocations: 33.77 kB / 0.4883 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.4079, allocations: 260.8 kB / 0.4885 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.4081, allocations: 0.7067 MB / 0.4892 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.4082, allocations: 12.67 kB / 0.4892 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.4082, allocations: 16.91 kB / 0.4893 GB, free: 13.16 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4082, allocations: 1.469 kB / 0.4893 GB, free: 13.16 MB / 382.1 MB Notification: Performance of Templates: time 0.006225/0.4145, allocations: 1.715 MB / 0.4909 GB, free: 12.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)