Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007864/0.007864, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001345/0.001345, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.692/1.692, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.4651/0.4651, 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.001826/0.001826, allocations: 71.89 kB / 433.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4116, allocations: 56.46 MB / 489.5 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003382/0.415, allocations: 1.686 MB / 491.2 MB, free: 18.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.4165, allocations: 0.8185 MB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.4166, allocations: 1.25 kB / 492 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.417, allocations: 40.91 kB / 492.1 MB, free: 18.18 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.0002572/0.4173, allocations: 60.66 kB / 492.1 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.4176, allocations: 80.08 kB / 492.2 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.4178, allocations: 100.3 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.4179, allocations: 16.89 kB / 492.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.418, allocations: 46.2 kB / 492.4 MB, free: 18.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.4181, allocations: 37.08 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.4181, allocations: 4.5 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.4183, allocations: 61.36 kB / 492.5 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.4184, allocations: 26.97 kB / 492.5 MB, free: 17.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.4185, allocations: 30.62 kB / 492.5 MB, free: 17.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.4188, allocations: 128.3 kB / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4188, allocations: 0 / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.4189, allocations: 0 / 492.6 MB, free: 17.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.4189, allocations: 1.344 kB / 492.6 MB, free: 17.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007192/0.4196, allocations: 399.2 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.4197, allocations: 13.8 kB / 493 MB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.157e-05/0.4197, allocations: 13.72 kB / 493.1 MB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.4202, allocations: 221.6 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4202, allocations: 2.531 kB / 493.3 MB, free: 17.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.715e-05/0.4203, allocations: 11.41 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.4205, allocations: 70.3 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4206, allocations: 0 / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4206, allocations: 2.188 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4206, allocations: 0 / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.4207, allocations: 23.41 kB / 493.4 MB, free: 17.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.4212, allocations: 302.1 kB / 493.7 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.4214, allocations: 55.47 kB / 493.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.927e-05/0.4215, allocations: 22.5 kB / 493.7 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.533e-05/0.4215, allocations: 1.531 kB / 493.8 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.4218, allocations: 71.25 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4218, allocations: 5.281 kB / 493.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007882/0.4226, allocations: 181.8 kB / 494 MB, free: 16.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.4226, allocations: 79.67 kB / 494.1 MB, free: 16.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.4229, allocations: 150.4 kB / 494.2 MB, free: 16.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4229, allocations: 27.58 kB / 494.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.282e-05/0.4229, allocations: 98.11 kB / 494.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.423, allocations: 34.45 kB / 494.4 MB, free: 16.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.423, allocations: 23.86 kB / 494.4 MB, free: 16.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.951e-05/0.4231, allocations: 325.2 kB / 494.7 MB, free: 16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.4232, allocations: 21.91 kB / 494.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.4233, allocations: 46.75 kB / 494.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4234, allocations: 71.7 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4234, allocations: 1.156 kB / 494.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002022/0.4236, allocations: 107.8 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4237, allocations: 6.531 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4237, allocations: 0.6562 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4237, allocations: 1.594 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.4238, allocations: 16.3 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4238, allocations: 1.156 kB / 495 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.522e-05/0.4239, allocations: 14.59 kB / 495 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.4239, allocations: 3.953 kB / 495 MB, free: 15.83 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 (11): * Single equations (assignments): 11 * 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 8.75e-05/0.424, allocations: 125.3 kB / 495.1 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4241, allocations: 10.2 kB / 495.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.4241, allocations: 13.27 kB / 495.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4241, allocations: 0.5156 kB / 495.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4241, allocations: 1.25 kB / 495.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4241, allocations: 4.547 kB / 495.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.4246, allocations: 402.8 kB / 495.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4246, allocations: 5.203 kB / 495.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.4247, allocations: 9.969 kB / 495.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4247, allocations: 1.844 kB / 495.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.4247, allocations: 5.672 kB / 495.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4247, allocations: 1.734 kB / 495.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4247, allocations: 1.547 kB / 495.6 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.425, allocations: 213 kB / 495.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.425, allocations: 83.97 kB / 495.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.425, allocations: 10.17 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.4251, allocations: 4 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.4252, allocations: 6.016 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.4252, allocations: 4.547 kB / 495.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.428e-05/0.4253, allocations: 122.8 kB / 496 MB, free: 14.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4253, allocations: 0 / 496 MB, free: 14.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.4257, allocations: 33.59 kB / 496 MB, free: 14.95 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 (9): * Single equations (assignments): 7 * 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.001213/0.4269, allocations: 0.5089 MB / 496.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.4271, allocations: 64.91 kB / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.4271, allocations: 0 / 496.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.4272, allocations: 34.48 kB / 496.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4276, allocations: 35.3 kB / 496.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.428, allocations: 199.9 kB / 496.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.4282, allocations: 0.6967 MB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.058e-05/0.4283, allocations: 19.11 kB / 497.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.4283, allocations: 19.84 kB / 497.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4283, allocations: 0 / 497.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of Templates: time 0.006571/0.4349, allocations: 2.078 MB / 499.7 MB, free: 13.38 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)