Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005977/0.005977, allocations: 102.7 kB / 15.73 MB, free: 6.016 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.001129/0.00113, allocations: 196.5 kB / 16.68 MB, free: 5.938 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.457/1.457, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.3036/0.3036, allocations: 38 MB / 307.9 MB, free: 10.12 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.001518/0.001518, allocations: 71.91 kB / 433.1 MB, free: 5.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3937, allocations: 56.45 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003325/0.3971, allocations: 1.639 MB / 491.1 MB, free: 18.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3986, allocations: 0.7914 MB / 491.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.3987, allocations: 1.156 kB / 491.9 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003655/0.3991, allocations: 55.03 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.0002657/0.3993, allocations: 58.67 kB / 492.1 MB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3996, allocations: 78.12 kB / 492.1 MB, free: 18.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.3998, allocations: 92.67 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.3999, allocations: 9.938 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.4, allocations: 37.06 kB / 492.3 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.4001, allocations: 28.12 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.4001, allocations: 3.094 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.4002, allocations: 43.67 kB / 492.3 MB, free: 18.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.068e-05/0.4003, allocations: 26.83 kB / 492.4 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.1e-05/0.4004, allocations: 33.7 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.4007, allocations: 117.1 kB / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4007, allocations: 0 / 492.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4007, allocations: 3.938 kB / 492.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4007, allocations: 1.719 kB / 492.5 MB, free: 17.97 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.0006675/0.4014, allocations: 427.3 kB / 492.9 MB, free: 17.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4014, allocations: 12.98 kB / 492.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.4015, allocations: 18.5 kB / 493 MB, free: 17.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.4018, allocations: 222.6 kB / 493.2 MB, free: 17.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4018, allocations: 5.406 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.4018, allocations: 5.156 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.402, allocations: 47.28 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.402, allocations: 0 / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.402, allocations: 0.6562 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.402, allocations: 1.156 kB / 493.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.4021, allocations: 14.88 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.4023, allocations: 194.6 kB / 493.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4025, allocations: 57.53 kB / 493.5 MB, free: 17.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.4026, allocations: 22.06 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.4026, allocations: 1.125 kB / 493.5 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.4028, allocations: 68.59 kB / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.4028, allocations: 0 / 493.6 MB, free: 16.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000338/0.4031, allocations: 102.8 kB / 493.7 MB, free: 16.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.4032, allocations: 51.41 kB / 493.7 MB, free: 16.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.4035, allocations: 258.7 kB / 494 MB, free: 16.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4035, allocations: 27.02 kB / 494 MB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.4036, allocations: 111.2 kB / 494.1 MB, free: 16.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.4036, allocations: 14.67 kB / 494.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/0.4037, allocations: 24.5 kB / 494.2 MB, free: 16.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.4037, allocations: 323.9 kB / 494.5 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/0.4038, allocations: 14.22 kB / 494.5 MB, free: 16.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/0.4038, allocations: 26.61 kB / 494.5 MB, free: 16.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.4039, allocations: 46.39 kB / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4039, allocations: 0 / 494.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000149/0.4041, allocations: 94.66 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4041, allocations: 5.469 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4041, allocations: 4 kB / 494.7 MB, free: 16.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4042, allocations: 9.266 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.4043, allocations: 15.06 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.4043, allocations: 1.344 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.4043, allocations: 2.391 kB / 494.7 MB, free: 16.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4043, allocations: 2.719 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 0.0001031/0.4044, allocations: 141.2 kB / 494.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.4045, allocations: 14.38 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.4045, allocations: 17.61 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.4045, allocations: 5.688 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.4045, allocations: 0.9375 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4045, allocations: 0 / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.4047, allocations: 196.8 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4047, allocations: 0.8906 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-05/0.4047, allocations: 3.25 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4047, allocations: 1.75 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4047, allocations: 5.734 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4047, allocations: 1.188 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4047, allocations: 0 / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.4049, allocations: 118.3 kB / 495.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.405, allocations: 88.94 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.405, allocations: 1.734 kB / 495.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.665e-05/0.405, allocations: 7.062 kB / 495.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.4051, allocations: 3.562 kB / 495.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.4051, allocations: 6.922 kB / 495.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.4053, allocations: 190.6 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4053, allocations: 1.125 kB / 495.5 MB, free: 15.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.4055, allocations: 22.28 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.001089/0.4066, allocations: 411 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4069, allocations: 44.5 kB / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4069, allocations: 64 / 496 MB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.11e-05/0.4069, allocations: 26.03 kB / 496 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.4072, allocations: 40.89 kB / 496 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.4078, allocations: 257.1 kB / 496.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.408, allocations: 0.7134 MB / 497 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.948e-05/0.4081, allocations: 15.17 kB / 497 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.4082, allocations: 22.69 kB / 497 MB, free: 14.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4082, allocations: 0 / 497 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Templates: time 0.005598/0.4138, allocations: 1.5 MB / 498.5 MB, free: 13.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)