Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008433/0.008433, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001464/0.001465, allocations: 190.5 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.623/1.623, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3619/0.3619, allocations: 37.99 MB / 307.9 MB, free: 9.957 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.001582/0.001582, allocations: 79.83 kB / 433 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4035, allocations: 56.46 MB / 489.5 MB, free: 20.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003461/0.407, allocations: 1.765 MB / 491.3 MB, free: 19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.4088, allocations: 0.8771 MB / 492.1 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.409, allocations: 1.625 kB / 492.1 MB, free: 18.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.4097, allocations: 303.2 kB / 492.4 MB, free: 18.35 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.0004642/0.4102, allocations: 211.9 kB / 492.6 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004374/0.4107, allocations: 137.8 kB / 492.8 MB, free: 18.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.4111, allocations: 240.8 kB / 493 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.4112, allocations: 13.39 kB / 493 MB, free: 18.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.4114, allocations: 128.3 kB / 493.2 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.4117, allocations: 185.5 kB / 493.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.4117, allocations: 6.156 kB / 493.3 MB, free: 18.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.4119, allocations: 49.09 kB / 493.4 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.4121, allocations: 132.7 kB / 493.5 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.4122, allocations: 146.6 kB / 493.7 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005372/0.4128, allocations: 358.7 kB / 494 MB, free: 17.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4128, allocations: 0 / 494 MB, free: 17.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.4128, allocations: 1.562 kB / 494 MB, free: 17.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4128, allocations: 0 / 494 MB, free: 17.74 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.001052/0.4139, allocations: 0.7115 MB / 494.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4139, allocations: 13.17 kB / 494.7 MB, free: 17.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.022e-05/0.414, allocations: 49.7 kB / 494.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006269/0.4147, allocations: 444.8 kB / 495.2 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.4147, allocations: 3.875 kB / 495.2 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.4147, allocations: 10.95 kB / 495.2 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.415, allocations: 78.34 kB / 495.3 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.415, allocations: 0.9062 kB / 495.3 MB, free: 16.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.415, allocations: 12.48 kB / 495.3 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.4151, allocations: 6.094 kB / 495.3 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.4152, allocations: 33.56 kB / 495.4 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005547/0.4158, allocations: 369.3 kB / 495.7 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.4161, allocations: 101.9 kB / 495.8 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4162, allocations: 49.81 kB / 495.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.4162, allocations: 6.875 kB / 495.9 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.4165, allocations: 104.2 kB / 496 MB, free: 16.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.4165, allocations: 1.375 kB / 496 MB, free: 16.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005681/0.4171, allocations: 200.8 kB / 496.2 MB, free: 16.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4171, allocations: 78.72 kB / 496.3 MB, free: 16.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.4185, allocations: 1.01 MB / 497.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4185, allocations: 29.02 kB / 497.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.4187, allocations: 227.6 kB / 497.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.4188, allocations: 26.08 kB / 497.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4189, allocations: 29.88 kB / 497.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.419, allocations: 368.8 kB / 497.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.4191, allocations: 31.53 kB / 498 MB, free: 15.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.318e-05/0.4192, allocations: 52.89 kB / 498 MB, free: 15.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.4194, allocations: 87.78 kB / 498.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4194, allocations: 4 kB / 498.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003327/0.4198, allocations: 167.5 kB / 498.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.4198, allocations: 6.453 kB / 498.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4198, allocations: 1.406 kB / 498.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4198, allocations: 2.312 kB / 498.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.42, allocations: 28.25 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.42, allocations: 2.125 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4201, allocations: 9.641 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.4201, allocations: 9.406 kB / 498.3 MB, free: 14.92 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.0002302/0.4204, allocations: 225.6 kB / 498.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.4204, allocations: 48.89 kB / 498.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.056e-05/0.4205, allocations: 56.7 kB / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4206, allocations: 3.391 kB / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4206, allocations: 0 / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4206, allocations: 1.844 kB / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.4209, allocations: 339.5 kB / 499 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.421, allocations: 4.594 kB / 499 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.421, allocations: 20.42 kB / 499 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.421, allocations: 1.156 kB / 499 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.421, allocations: 2.609 kB / 499 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.421, allocations: 1.062 kB / 499 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.421, allocations: 1.312 kB / 499 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.4214, allocations: 201.7 kB / 499.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.4215, allocations: 136.4 kB / 499.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.4216, allocations: 7 kB / 499.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.4217, allocations: 5.266 kB / 499.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.4217, allocations: 7.234 kB / 499.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.389e-05/0.4218, allocations: 10.14 kB / 499.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008917/0.4227, allocations: 0.7454 MB / 0.4884 GB, free: 13.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4227, allocations: 0 / 0.4884 GB, free: 13.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003347/0.423, allocations: 45.89 kB / 0.4884 GB, free: 13.94 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.001002/0.424, allocations: 429 kB / 0.4889 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.4243, allocations: 85.42 kB / 0.4889 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4243, allocations: 0 / 0.4889 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.4245, allocations: 34.78 kB / 0.489 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.4249, allocations: 85.78 kB / 0.4891 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4262, allocations: 0.8428 MB / 0.4899 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4266, allocations: 0.8407 MB / 0.4907 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.4268, allocations: 52.55 kB / 0.4907 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.06e-05/0.4269, allocations: 27.41 kB / 0.4908 GB, free: 12.42 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4269, allocations: 4 kB / 0.4908 GB, free: 12.42 MB / 382.1 MB Notification: Performance of Templates: time 0.01063/0.4375, allocations: 3.688 MB / 0.4944 GB, free: 11.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)