Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0145/0.0145, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.003063/0.003063, allocations: 196.2 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.833/1.833, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.4411/0.4411, allocations: 39.94 MB / 309.8 MB, free: 9.379 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.001479/0.001479, allocations: 71.91 kB / 435.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4315, allocations: 56.87 MB / 492.7 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003478/0.4351, allocations: 1.786 MB / 494.5 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.4368, allocations: 0.8803 MB / 495.4 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.4369, allocations: 5.031 kB / 495.4 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.4376, allocations: 311.3 kB / 495.7 MB, free: 17.52 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.0004342/0.4381, allocations: 204 kB / 495.9 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.4385, allocations: 139.4 kB / 496 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003361/0.4388, allocations: 243 kB / 496.3 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.4389, allocations: 14.55 kB / 496.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.4391, allocations: 133 kB / 496.4 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.4393, allocations: 189.9 kB / 496.6 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.4394, allocations: 6.469 kB / 496.6 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.4395, allocations: 40.84 kB / 496.6 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.4397, allocations: 138.6 kB / 496.8 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.4399, allocations: 151.6 kB / 496.9 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.4404, allocations: 366.8 kB / 497.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4404, allocations: 5.406 kB / 497.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4404, allocations: 3.938 kB / 497.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4405, allocations: 0 / 497.3 MB, free: 16.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001061/0.4415, allocations: 0.7271 MB / 498 MB, free: 16.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4416, allocations: 13.11 kB / 498 MB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.4417, allocations: 45.72 kB / 498.1 MB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000714/0.4424, allocations: 458.4 kB / 498.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4424, allocations: 1.5 kB / 498.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4424, allocations: 12.34 kB / 498.5 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.4427, allocations: 90.98 kB / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4427, allocations: 0 / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4427, allocations: 0.75 kB / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4427, allocations: 1.125 kB / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.4429, allocations: 30.36 kB / 498.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.4433, allocations: 377.8 kB / 499 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.4436, allocations: 101.7 kB / 499.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.236e-05/0.4437, allocations: 42.77 kB / 499.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.4437, allocations: 5.75 kB / 499.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.444, allocations: 109.3 kB / 499.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.444, allocations: 0 / 499.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005045/0.4445, allocations: 198.2 kB / 499.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4445, allocations: 79.08 kB / 499.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4457, allocations: 1.036 MB / 0.4888 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4457, allocations: 31.86 kB / 0.4889 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.4459, allocations: 231.6 kB / 0.4891 GB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.244e-05/0.446, allocations: 27.17 kB / 0.4891 GB, free: 14.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.446, allocations: 29.55 kB / 0.4892 GB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4461, allocations: 366.8 kB / 0.4895 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.4462, allocations: 27.3 kB / 0.4895 GB, free: 14.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.4463, allocations: 59.92 kB / 0.4896 GB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.4465, allocations: 93.92 kB / 0.4897 GB, free: 14.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4465, allocations: 0 / 0.4897 GB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002704/0.4468, allocations: 174.4 kB / 0.4898 GB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4468, allocations: 9.047 kB / 0.4898 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4468, allocations: 0 / 0.4898 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4468, allocations: 2.75 kB / 0.4899 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4469, allocations: 19.55 kB / 0.4899 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.447, allocations: 7.531 kB / 0.4899 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.4471, allocations: 8.922 kB / 0.4899 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.4471, allocations: 5.297 kB / 0.4899 GB, free: 14.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002116/0.4473, allocations: 228.3 kB / 0.4901 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.4474, allocations: 49.34 kB / 0.4902 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.32e-05/0.4475, allocations: 67.64 kB / 0.4902 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.4475, allocations: 5.359 kB / 0.4902 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4475, allocations: 1.375 kB / 0.4902 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4475, allocations: 0 / 0.4902 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.4478, allocations: 347 kB / 0.4906 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4478, allocations: 0 / 0.4906 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.4479, allocations: 8.234 kB / 0.4906 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4479, allocations: 1.938 kB / 0.4906 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4479, allocations: 2.828 kB / 0.4906 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4479, allocations: 9.5 kB / 0.4906 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4479, allocations: 3.984 kB / 0.4906 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.4482, allocations: 202.1 kB / 0.4908 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.4484, allocations: 137.8 kB / 0.4909 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.4485, allocations: 7.922 kB / 0.4909 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.4485, allocations: 4.172 kB / 0.4909 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.4486, allocations: 15.42 kB / 0.4909 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4486, allocations: 9.906 kB / 0.4909 GB, free: 13.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009275/0.4496, allocations: 0.7696 MB / 0.4917 GB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4496, allocations: 0 / 0.4917 GB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.4499, allocations: 45.2 kB / 0.4917 GB, free: 13.06 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009665/0.4509, allocations: 416.5 kB / 0.4921 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.4511, allocations: 84.91 kB / 0.4922 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4512, allocations: 0 / 0.4922 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.4513, allocations: 44.84 kB / 0.4923 GB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.4518, allocations: 76.59 kB / 0.4923 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.4533, allocations: 0.8557 MB / 0.4932 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4537, allocations: 0.844 MB / 0.494 GB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.4538, allocations: 56.11 kB / 0.494 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.463e-05/0.4539, allocations: 28.45 kB / 0.4941 GB, free: 11.55 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4539, allocations: 0 / 0.4941 GB, free: 11.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01079/0.4647, allocations: 3.842 MB / 0.4978 GB, free: 9.895 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)