Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005554/0.005554, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001114/0.001114, allocations: 196.3 kB / 16.68 MB, free: 5.961 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.3868/0.3868, allocations: 39.94 MB / 309.8 MB, free: 9.359 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.002242/0.002242, allocations: 75.89 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4337, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005251/0.439, allocations: 1.995 MB / 494.7 MB, free: 18.1 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.441, allocations: 0.8997 MB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.4412, allocations: 4.844 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.4417, allocations: 48.3 kB / 495.7 MB, free: 17.45 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.0003051/0.442, allocations: 72.45 kB / 495.7 MB, free: 17.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.4424, allocations: 117.4 kB / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.4428, allocations: 203.4 kB / 496 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.443, allocations: 37.53 kB / 496.1 MB, free: 17.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.4432, allocations: 87.62 kB / 496.2 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.4433, allocations: 68.17 kB / 496.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.4434, allocations: 12.12 kB / 496.2 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.4436, allocations: 54.33 kB / 496.3 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4437, allocations: 40.22 kB / 496.3 MB, free: 17.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.4438, allocations: 66.62 kB / 496.4 MB, free: 17.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.4443, allocations: 198.1 kB / 496.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4443, allocations: 0 / 496.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4443, allocations: 0 / 496.6 MB, free: 16.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.4444, allocations: 1.312 kB / 496.6 MB, free: 16.98 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001316/0.4457, allocations: 0.5552 MB / 497.2 MB, free: 16.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/0.4458, allocations: 13.27 kB / 497.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.4459, allocations: 18.31 kB / 497.2 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.4463, allocations: 250.2 kB / 497.4 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.4464, allocations: 9.188 kB / 497.4 MB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.4464, allocations: 17.66 kB / 497.5 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005245/0.447, allocations: 151.5 kB / 497.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.447, allocations: 1.156 kB / 497.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.447, allocations: 1.734 kB / 497.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.447, allocations: 2.438 kB / 497.6 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.4475, allocations: 115.7 kB / 497.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.4483, allocations: 0.5341 MB / 498.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.4491, allocations: 161.5 kB / 498.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.4494, allocations: 73.25 kB / 498.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.4495, allocations: 5.531 kB / 498.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.4499, allocations: 146.3 kB / 498.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.4499, allocations: 0 / 498.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001037/0.451, allocations: 258.7 kB / 498.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.451, allocations: 58.81 kB / 498.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.4513, allocations: 228 kB / 499.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.4514, allocations: 31.52 kB / 499.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.4515, allocations: 122.6 kB / 499.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.4515, allocations: 35.48 kB / 499.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.4516, allocations: 40.67 kB / 499.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.4517, allocations: 330.1 kB / 499.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.452, allocations: 65.22 kB / 499.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.4524, allocations: 107.8 kB / 499.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.453, allocations: 195 kB / 0.4884 GB, free: 14.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.453, allocations: 0 / 0.4884 GB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007935/0.4538, allocations: 253.2 kB / 0.4886 GB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.4539, allocations: 32.56 kB / 0.4886 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4539, allocations: 6.438 kB / 0.4886 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/0.454, allocations: 2 kB / 0.4886 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.4542, allocations: 41.14 kB / 0.4887 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.828e-05/0.4542, allocations: 2.734 kB / 0.4887 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.4545, allocations: 27.19 kB / 0.4887 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.4545, allocations: 10.06 kB / 0.4887 GB, free: 14.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001333/0.4547, allocations: 136.9 kB / 0.4888 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.4547, allocations: 21.02 kB / 0.4889 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.324e-05/0.4548, allocations: 29.09 kB / 0.4889 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.4548, allocations: 5.031 kB / 0.4889 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4548, allocations: 1.031 kB / 0.4889 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4548, allocations: 3.984 kB / 0.4889 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.455, allocations: 228.4 kB / 0.4891 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.455, allocations: 1.094 kB / 0.4891 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.4552, allocations: 22.36 kB / 0.4891 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4552, allocations: 1.375 kB / 0.4891 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4552, allocations: 10.52 kB / 0.4891 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.4552, allocations: 9.062 kB / 0.4892 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4552, allocations: 0 / 0.4892 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009475/0.4562, allocations: 300.9 kB / 0.4894 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.4562, allocations: 97.8 kB / 0.4895 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.4563, allocations: 6.938 kB / 0.4895 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4565, allocations: 23.88 kB / 0.4896 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.4566, allocations: 15.97 kB / 0.4896 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.4566, allocations: 5.547 kB / 0.4896 GB, free: 13.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4568, allocations: 167.4 kB / 0.4897 GB, free: 13.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4568, allocations: 3.938 kB / 0.4897 GB, free: 13.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000282/0.4571, allocations: 42.77 kB / 0.4898 GB, free: 13.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009791/0.458, allocations: 411 kB / 0.4902 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006952/0.4587, allocations: 222.9 kB / 0.4904 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4588, allocations: 4.25 kB / 0.4904 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.459, allocations: 75.39 kB / 0.4905 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.4594, allocations: 55.64 kB / 0.4905 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.4601, allocations: 312.1 kB / 0.4908 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.4603, allocations: 0.7283 MB / 0.4915 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.458e-05/0.4604, allocations: 21.86 kB / 0.4916 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.4605, allocations: 20.5 kB / 0.4916 GB, free: 12.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4605, allocations: 4 kB / 0.4916 GB, free: 12.11 MB / 382.1 MB Notification: Performance of Templates: time 0.007338/0.4678, allocations: 2.818 MB / 0.4943 GB, free: 11.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)