Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006598/0.006599, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.00132/0.00132, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.731/1.731, allocations: 205.1 MB / 222.5 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.379/0.379, allocations: 39.94 MB / 309.8 MB, free: 9.48 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.001481/0.001481, allocations: 63.91 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3952, allocations: 56.87 MB / 492.7 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003703/0.399, allocations: 1.704 MB / 494.4 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.4005, allocations: 0.7985 MB / 495.2 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.4006, allocations: 1.094 kB / 495.2 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.401, allocations: 41.23 kB / 495.3 MB, free: 17.57 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.000278/0.4013, allocations: 62 kB / 495.3 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.4016, allocations: 72.28 kB / 495.4 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.4018, allocations: 107.2 kB / 495.5 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4019, allocations: 11.83 kB / 495.5 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.402, allocations: 41.69 kB / 495.5 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.458e-05/0.4021, allocations: 33.47 kB / 495.6 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.4021, allocations: 2.938 kB / 495.6 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4023, allocations: 42.42 kB / 495.6 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.4023, allocations: 19.52 kB / 495.6 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.4024, allocations: 32.81 kB / 495.7 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.4027, allocations: 116.4 kB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4027, allocations: 5.125 kB / 495.8 MB, free: 17.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4027, allocations: 0 / 495.8 MB, free: 17.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.4027, allocations: 0 / 495.8 MB, free: 17.31 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.0005752/0.4033, allocations: 410.4 kB / 496.2 MB, free: 16.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4034, allocations: 14.23 kB / 496.2 MB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.4034, allocations: 16.88 kB / 496.2 MB, free: 16.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.4037, allocations: 211.6 kB / 496.4 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4038, allocations: 1.688 kB / 496.4 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.4038, allocations: 11.56 kB / 496.4 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.404, allocations: 53.28 kB / 496.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.404, allocations: 0 / 496.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.404, allocations: 5.641 kB / 496.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.404, allocations: 1.531 kB / 496.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.4041, allocations: 21.08 kB / 496.5 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.4045, allocations: 286.6 kB / 496.8 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.4047, allocations: 56.88 kB / 496.9 MB, free: 16.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.23e-05/0.4048, allocations: 19.84 kB / 496.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.4048, allocations: 1.734 kB / 496.9 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.405, allocations: 81.69 kB / 497 MB, free: 16.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.405, allocations: 0 / 497 MB, free: 16.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006268/0.4057, allocations: 171.8 kB / 497.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.4057, allocations: 57.5 kB / 497.2 MB, free: 16.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.4059, allocations: 180.3 kB / 497.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.406, allocations: 30.95 kB / 497.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.406, allocations: 99.91 kB / 497.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.4061, allocations: 30.28 kB / 497.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.4061, allocations: 21.66 kB / 497.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.4062, allocations: 326 kB / 497.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.4063, allocations: 21.67 kB / 497.9 MB, free: 15.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.4064, allocations: 39.62 kB / 497.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4065, allocations: 66.56 kB / 498 MB, free: 15.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4065, allocations: 0 / 498 MB, free: 15.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.4067, allocations: 100.9 kB / 498.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4068, allocations: 5.375 kB / 498.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4068, allocations: 1.938 kB / 498.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.4068, allocations: 0.9375 kB / 498.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.4069, allocations: 19.77 kB / 498.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4069, allocations: 0 / 498.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.407, allocations: 10.56 kB / 498.1 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.407, allocations: 4.953 kB / 498.1 MB, free: 15.3 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 9.946e-05/0.4071, allocations: 123.6 kB / 498.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.4072, allocations: 9.969 kB / 498.3 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.4072, allocations: 15.2 kB / 498.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.4072, allocations: 1.5 kB / 498.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4072, allocations: 3.938 kB / 498.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4072, allocations: 4.734 kB / 498.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.4077, allocations: 398.5 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4078, allocations: 0.75 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.4078, allocations: 12.14 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4078, allocations: 1.344 kB / 498.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.4078, allocations: 10.25 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.4078, allocations: 1.344 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4078, allocations: 1.172 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.4081, allocations: 200.7 kB / 498.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.4081, allocations: 88.94 kB / 499 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.4082, allocations: 10.78 kB / 499 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.4083, allocations: 6.594 kB / 499 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/0.4083, allocations: 5.656 kB / 499 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.4083, allocations: 3.875 kB / 499 MB, free: 14.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.4085, allocations: 148.5 kB / 499.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4085, allocations: 0 / 499.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.4088, allocations: 25.03 kB / 499.2 MB, free: 14.41 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.001168/0.41, allocations: 483.1 kB / 499.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.4102, allocations: 56.75 kB / 499.7 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4102, allocations: 8 kB / 499.7 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.4103, allocations: 24.38 kB / 499.7 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.4107, allocations: 35.14 kB / 499.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.4112, allocations: 219.2 kB / 500 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.4114, allocations: 0.7052 MB / 0.4889 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.8e-05/0.4115, allocations: 24.38 kB / 0.489 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.4115, allocations: 15.92 kB / 0.489 GB, free: 13.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4115, allocations: 0.9062 kB / 0.489 GB, free: 13.09 MB / 382.1 MB Notification: Performance of Templates: time 0.005375/0.4169, allocations: 1.695 MB / 0.4906 GB, free: 12.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)