Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01323/0.01323, allocations: 98.27 kB / 15.73 MB, free: 6.012 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.001969/0.00197, allocations: 196.2 kB / 16.68 MB, free: 5.93 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.839/1.839, 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.2+maint.om/package.mo): time 0.4102/0.4102, allocations: 39.94 MB / 309.8 MB, free: 9.402 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.001501/0.001501, allocations: 67.91 kB / 435.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4309, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003621/0.4346, allocations: 1.784 MB / 494.5 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.4363, allocations: 0.8816 MB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.4364, allocations: 1.188 kB / 495.4 MB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007198/0.4372, allocations: 310.9 kB / 495.7 MB, free: 17.61 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.0004504/0.4376, allocations: 213 kB / 495.9 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.438, allocations: 134.8 kB / 496 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.4384, allocations: 239.5 kB / 496.3 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.492e-05/0.4384, allocations: 17.5 kB / 496.3 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.4386, allocations: 132.5 kB / 496.4 MB, free: 17.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.4389, allocations: 193.8 kB / 496.6 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.26e-05/0.4389, allocations: 6.094 kB / 496.6 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.4391, allocations: 40.8 kB / 496.6 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.4392, allocations: 137.8 kB / 496.8 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.4394, allocations: 155.5 kB / 496.9 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.4399, allocations: 373.2 kB / 497.3 MB, free: 16.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4399, allocations: 0 / 497.3 MB, free: 16.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4399, allocations: 0 / 497.3 MB, free: 16.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4399, allocations: 0 / 497.3 MB, free: 16.99 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.001047/0.441, allocations: 0.7409 MB / 498 MB, free: 16.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.441, allocations: 13.61 kB / 498 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.972e-05/0.4411, allocations: 49.98 kB / 498.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007495/0.4419, allocations: 465.4 kB / 498.5 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.4419, allocations: 3.281 kB / 498.5 MB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.442, allocations: 6.953 kB / 498.6 MB, free: 16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.4422, allocations: 82.39 kB / 498.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4422, allocations: 2.156 kB / 498.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4423, allocations: 0 / 498.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.4423, allocations: 1.703 kB / 498.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.4424, allocations: 38.64 kB / 498.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.4429, allocations: 372.3 kB / 499 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.4433, allocations: 102.1 kB / 499.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4434, allocations: 46.52 kB / 499.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.4434, allocations: 1.469 kB / 499.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/0.4437, allocations: 109.2 kB / 499.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.4437, allocations: 1.125 kB / 499.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005544/0.4443, allocations: 206.2 kB / 499.5 MB, free: 15.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.4443, allocations: 79 kB / 499.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/0.4458, allocations: 1.036 MB / 0.4889 GB, free: 14.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.4459, allocations: 32.11 kB / 0.4889 GB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.446, allocations: 236.4 kB / 0.4891 GB, free: 14.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.4461, allocations: 26.41 kB / 0.4892 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.4462, allocations: 29.11 kB / 0.4892 GB, free: 14.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4463, allocations: 370 kB / 0.4895 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.4464, allocations: 32.25 kB / 0.4896 GB, free: 14.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.044e-05/0.4465, allocations: 55.92 kB / 0.4896 GB, free: 14.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.4467, allocations: 93.56 kB / 0.4897 GB, free: 14.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4467, allocations: 0 / 0.4897 GB, free: 14.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002878/0.447, allocations: 173.6 kB / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.447, allocations: 5.5 kB / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4471, allocations: 1.375 kB / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.4471, allocations: 1.375 kB / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.4472, allocations: 24.67 kB / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.4472, allocations: 1.375 kB / 0.4899 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4473, allocations: 15.19 kB / 0.4899 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.4474, allocations: 4.125 kB / 0.4899 GB, free: 14.12 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.0002169/0.4476, allocations: 227 kB / 0.4901 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.4477, allocations: 51.05 kB / 0.4902 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.519e-05/0.4477, allocations: 63.56 kB / 0.4902 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4478, allocations: 1.375 kB / 0.4903 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4478, allocations: 256 / 0.4903 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4478, allocations: 1.375 kB / 0.4903 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.4482, allocations: 349.8 kB / 0.4906 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4482, allocations: 5.375 kB / 0.4906 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.4482, allocations: 12.27 kB / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4482, allocations: 0.6562 kB / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.4482, allocations: 3.406 kB / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4482, allocations: 2.219 kB / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4482, allocations: 0 / 0.4906 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.4486, allocations: 202.7 kB / 0.4908 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.4487, allocations: 141 kB / 0.4909 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.4487, allocations: 7.547 kB / 0.4909 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.4488, allocations: 5.047 kB / 0.4909 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.4489, allocations: 11.53 kB / 0.491 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4489, allocations: 5.766 kB / 0.491 GB, free: 13.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008831/0.4498, allocations: 0.7681 MB / 0.4917 GB, free: 13.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4498, allocations: 1.031 kB / 0.4917 GB, free: 13.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.4501, allocations: 41.92 kB / 0.4918 GB, free: 13.13 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.001074/0.4512, allocations: 439.2 kB / 0.4922 GB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.4515, allocations: 81.09 kB / 0.4923 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4515, allocations: 1.5 kB / 0.4923 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.4516, allocations: 43.33 kB / 0.4923 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.4521, allocations: 77.06 kB / 0.4924 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.4536, allocations: 0.8752 MB / 0.4932 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.4541, allocations: 0.8395 MB / 0.494 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.4542, allocations: 53.14 kB / 0.4941 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.4543, allocations: 32.48 kB / 0.4941 GB, free: 11.58 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4543, allocations: 0 / 0.4941 GB, free: 11.58 MB / 382.1 MB Notification: Performance of Templates: time 0.009804/0.4641, allocations: 3.747 MB / 0.4978 GB, free: 9.961 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)