Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006273/0.006273, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001194/0.001194, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.581/1.581, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.3527/0.3527, allocations: 37.99 MB / 307.9 MB, free: 10.11 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.001875/0.001875, allocations: 71.89 kB / 433.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4123, allocations: 56.46 MB / 489.5 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003494/0.4159, allocations: 1.672 MB / 491.2 MB, free: 18.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.4172, allocations: 0.804 MB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.4173, allocations: 1.156 kB / 492 MB, free: 18.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.4177, allocations: 47.08 kB / 492 MB, free: 18.3 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.0002659/0.418, allocations: 50.62 kB / 492.1 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.4182, allocations: 80.7 kB / 492.2 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.4185, allocations: 99.69 kB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4186, allocations: 14.94 kB / 492.3 MB, free: 18.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.4187, allocations: 42.09 kB / 492.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.4188, allocations: 30.2 kB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.4188, allocations: 4.344 kB / 492.4 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.419, allocations: 41.94 kB / 492.4 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.143e-05/0.419, allocations: 24.09 kB / 492.4 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.4191, allocations: 36.36 kB / 492.5 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.4194, allocations: 117.6 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4194, allocations: 4 kB / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4194, allocations: 0 / 492.6 MB, free: 18.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.4194, allocations: 0.7031 kB / 492.6 MB, free: 18.04 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.0005635/0.42, allocations: 418.5 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.42, allocations: 14.05 kB / 493 MB, free: 17.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.4201, allocations: 13.44 kB / 493 MB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.4204, allocations: 203.5 kB / 493.2 MB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.4204, allocations: 10.39 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4204, allocations: 6.281 kB / 493.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.4206, allocations: 62.39 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4207, allocations: 1.062 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4207, allocations: 0 / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.4207, allocations: 1.547 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/0.4208, allocations: 17.89 kB / 493.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.4212, allocations: 284.2 kB / 493.6 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.4214, allocations: 63.91 kB / 493.6 MB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.936e-05/0.4215, allocations: 23.28 kB / 493.7 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.175e-05/0.4216, allocations: 6.562 kB / 493.7 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.4217, allocations: 69.22 kB / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4218, allocations: 0 / 493.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006595/0.4224, allocations: 173 kB / 493.9 MB, free: 16.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4225, allocations: 53.25 kB / 494 MB, free: 16.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.4227, allocations: 198.3 kB / 494.2 MB, free: 16.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.4227, allocations: 27.3 kB / 494.2 MB, free: 16.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.4228, allocations: 103.1 kB / 494.3 MB, free: 16.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.4229, allocations: 26.3 kB / 494.3 MB, free: 16.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.4229, allocations: 22.88 kB / 494.3 MB, free: 16.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.423, allocations: 326.3 kB / 494.6 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.163e-05/0.4231, allocations: 24.81 kB / 494.7 MB, free: 16.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-05/0.4231, allocations: 39.09 kB / 494.7 MB, free: 16.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.4233, allocations: 58.75 kB / 494.8 MB, free: 16.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4233, allocations: 0 / 494.8 MB, free: 16.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.4235, allocations: 101.4 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4235, allocations: 5.656 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4235, allocations: 5.656 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4235, allocations: 0.6562 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.4236, allocations: 14.77 kB / 494.9 MB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4237, allocations: 5 kB / 494.9 MB, free: 16.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.4237, allocations: 11.81 kB / 494.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4237, allocations: 3.812 kB / 494.9 MB, free: 16.02 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.435e-05/0.4238, allocations: 133.8 kB / 495 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.4239, allocations: 14.03 kB / 495.1 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.4239, allocations: 19.27 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4239, allocations: 1.844 kB / 495.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4239, allocations: 5.188 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4239, allocations: 4.547 kB / 495.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.4244, allocations: 394.1 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4244, allocations: 1.125 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.4244, allocations: 9.375 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4244, allocations: 1.094 kB / 495.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4244, allocations: 10.25 kB / 495.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.4245, allocations: 5.25 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4245, allocations: 1.781 kB / 495.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.4247, allocations: 201.3 kB / 495.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.4247, allocations: 92.42 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.4248, allocations: 6 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.4249, allocations: 3.047 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.4249, allocations: 9.312 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.4249, allocations: 4.609 kB / 495.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.4251, allocations: 154.8 kB / 496 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4251, allocations: 0 / 496 MB, free: 15.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4253, allocations: 22.31 kB / 496 MB, free: 15.12 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.001053/0.4264, allocations: 473 kB / 496.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002139/0.4266, allocations: 56.36 kB / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4266, allocations: 0 / 496.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.221e-05/0.4267, allocations: 32.5 kB / 496.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.427, allocations: 30.41 kB / 496.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.4275, allocations: 237.9 kB / 496.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.4277, allocations: 0.7025 MB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.449e-05/0.4277, allocations: 17.39 kB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.4278, allocations: 16.58 kB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4278, allocations: 4 kB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Templates: time 0.00562/0.4334, allocations: 1.715 MB / 499.2 MB, free: 13.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)