Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.009789/0.009789, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.002179/0.00218, allocations: 192 kB / 16.67 MB, free: 6.379 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.589/1.589, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.3687/0.3687, allocations: 39.95 MB / 309.8 MB, free: 9.488 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.001949/0.001949, allocations: 71.91 kB / 435.8 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3929, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003383/0.3963, allocations: 1.692 MB / 494.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3978, allocations: 0.8088 MB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.3979, allocations: 1.094 kB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.3985, allocations: 100.5 kB / 495.3 MB, free: 17.76 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.0002937/0.3988, allocations: 83.33 kB / 495.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3991, allocations: 89.22 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.3994, allocations: 113.7 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.3996, allocations: 15.08 kB / 495.6 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.3997, allocations: 49.91 kB / 495.7 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3999, allocations: 62.31 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.3999, allocations: 2.719 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.4001, allocations: 42.38 kB / 495.8 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.071e-05/0.4002, allocations: 30.59 kB / 495.8 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.4003, allocations: 38.38 kB / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.4005, allocations: 129.8 kB / 496 MB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4006, allocations: 0 / 496 MB, free: 17.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4006, allocations: 5.281 kB / 496 MB, free: 17.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.4006, allocations: 0 / 496 MB, free: 17.48 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.0006464/0.4012, allocations: 428.9 kB / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4013, allocations: 13.02 kB / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.4013, allocations: 14.03 kB / 496.4 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4017, allocations: 222.5 kB / 496.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.4017, allocations: 5.906 kB / 496.6 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.4017, allocations: 11.55 kB / 496.6 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.4019, allocations: 52.8 kB / 496.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.4019, allocations: 4.641 kB / 496.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.402, allocations: 5.219 kB / 496.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.402, allocations: 0 / 496.7 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.4021, allocations: 19.2 kB / 496.7 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.4025, allocations: 294.4 kB / 497 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4027, allocations: 61.48 kB / 497.1 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.4028, allocations: 19.78 kB / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.4028, allocations: 1.953 kB / 497.1 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.403, allocations: 69.69 kB / 497.2 MB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.403, allocations: 0 / 497.2 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005959/0.4036, allocations: 178.6 kB / 497.3 MB, free: 16.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.4036, allocations: 57.94 kB / 497.4 MB, free: 16.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.4039, allocations: 233.3 kB / 497.6 MB, free: 16.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4039, allocations: 31.59 kB / 497.7 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.404, allocations: 106.1 kB / 497.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.404, allocations: 26.11 kB / 497.8 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.4041, allocations: 29.98 kB / 497.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4042, allocations: 327.7 kB / 498.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.4043, allocations: 21.14 kB / 498.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.4043, allocations: 39.11 kB / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4045, allocations: 54.84 kB / 498.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4045, allocations: 0 / 498.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.4047, allocations: 113.9 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4047, allocations: 5.344 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4047, allocations: 2.078 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4047, allocations: 3.984 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.4048, allocations: 15.41 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4048, allocations: 2.188 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.4049, allocations: 7.094 kB / 498.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4049, allocations: 10.53 kB / 498.4 MB, free: 15.42 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.0001039/0.405, allocations: 130.9 kB / 498.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.4051, allocations: 19.95 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.819e-05/0.4051, allocations: 21.97 kB / 498.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4051, allocations: 0 / 498.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4051, allocations: 1.25 kB / 498.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.4051, allocations: 4.828 kB / 498.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.4056, allocations: 403.5 kB / 499 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4056, allocations: 0 / 499 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.4057, allocations: 13.91 kB / 499 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4057, allocations: 0.5156 kB / 499 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.4057, allocations: 7.391 kB / 499 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4057, allocations: 0.6094 kB / 499 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4057, allocations: 1.406 kB / 499 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.406, allocations: 204.7 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.406, allocations: 85.8 kB / 499.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.4061, allocations: 10.95 kB / 499.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.4061, allocations: 11.2 kB / 499.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.4062, allocations: 5.625 kB / 499.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.4062, allocations: 4.375 kB / 499.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.4064, allocations: 184.4 kB / 499.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4064, allocations: 1.469 kB / 499.5 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.4067, allocations: 29.52 kB / 499.5 MB, free: 14.5 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.001122/0.4078, allocations: 469.7 kB / 500 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.4081, allocations: 60.44 kB / 0.4883 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4081, allocations: 0 / 0.4883 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.4081, allocations: 28.41 kB / 0.4883 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.4085, allocations: 36.97 kB / 0.4884 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.4091, allocations: 270.4 kB / 0.4886 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.4094, allocations: 0.7127 MB / 0.4893 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.352e-05/0.4095, allocations: 20.53 kB / 0.4894 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.4096, allocations: 17.08 kB / 0.4894 GB, free: 13.19 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4096, allocations: 0 / 0.4894 GB, free: 13.19 MB / 382.1 MB Notification: Performance of Templates: time 0.005604/0.4152, allocations: 1.742 MB / 0.4911 GB, free: 12.98 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)