Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00164/0.001646, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 111.2 kB / 291.9 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3715/0.3715, allocations: 44.14 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 55.86 kB / 457.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3874, allocations: 60.8 MB / 0.5064 GB, free: 38.51 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003622/0.3911, allocations: 2.057 MB / 0.5084 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3927, allocations: 0.9551 MB / 0.5093 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.3928, allocations: 5.125 kB / 0.5093 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.3932, allocations: 40.12 kB / 0.5094 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.3934, allocations: 64.19 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003149/0.3937, allocations: 129.8 kB / 0.5096 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.394, allocations: 188.4 kB / 0.5097 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3941, allocations: 24.47 kB / 0.5098 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.3942, allocations: 76.7 kB / 0.5098 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3943, allocations: 77.05 kB / 0.5099 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.3944, allocations: 8.719 kB / 0.5099 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3945, allocations: 43.92 kB / 0.51 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.23e-05/0.3946, allocations: 30.53 kB / 0.51 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.568e-05/0.3947, allocations: 71.48 kB / 0.5101 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.3949, allocations: 182.5 kB / 0.5102 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3949, allocations: 0 / 0.5102 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3949, allocations: 0 / 0.5102 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3949, allocations: 0 / 0.5102 GB, free: 35.99 MB / 378.7 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.0008244/0.3958, allocations: 0.5656 MB / 0.5108 GB, free: 35.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3958, allocations: 11.23 kB / 0.5108 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.3959, allocations: 20.94 kB / 0.5108 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.3961, allocations: 237.1 kB / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.3961, allocations: 7 kB / 0.5111 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.3962, allocations: 9.875 kB / 0.5111 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.3966, allocations: 158 kB / 0.5112 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3967, allocations: 0 / 0.5112 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.3967, allocations: 3.938 kB / 0.5112 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3967, allocations: 2.344 kB / 0.5112 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.3971, allocations: 110.2 kB / 0.5113 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005765/0.3977, allocations: 0.5439 MB / 0.5119 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.3983, allocations: 163.4 kB / 0.512 GB, free: 34.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.3986, allocations: 75.47 kB / 0.5121 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3986, allocations: 3.422 kB / 0.5121 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.399, allocations: 134.1 kB / 0.5122 GB, free: 34.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.454e-06/0.3991, allocations: 0 / 0.5122 GB, free: 34.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007983/0.3999, allocations: 265.5 kB / 0.5125 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.3999, allocations: 58.19 kB / 0.5125 GB, free: 34.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4001, allocations: 224.9 kB / 0.5127 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.4001, allocations: 32.33 kB / 0.5128 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.4002, allocations: 123.7 kB / 0.5129 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.4002, allocations: 39.05 kB / 0.5129 GB, free: 33.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.4003, allocations: 41.41 kB / 0.513 GB, free: 33.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.4004, allocations: 332 kB / 0.5133 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.4006, allocations: 62.97 kB / 0.5133 GB, free: 33.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.4009, allocations: 110.2 kB / 0.5134 GB, free: 33.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.4013, allocations: 198.7 kB / 0.5136 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4013, allocations: 4 kB / 0.5136 GB, free: 33.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005649/0.4019, allocations: 250.1 kB / 0.5139 GB, free: 33.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.4019, allocations: 33.27 kB / 0.5139 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.402, allocations: 2.938 kB / 0.5139 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.402, allocations: 7.062 kB / 0.5139 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4022, allocations: 44.52 kB / 0.514 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4022, allocations: 2.875 kB / 0.514 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.4023, allocations: 28.75 kB / 0.514 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4024, allocations: 10.88 kB / 0.514 GB, free: 33.27 MB / 378.7 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 9.81e-05/0.4025, allocations: 133.3 kB / 0.5141 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.4025, allocations: 16.28 kB / 0.5141 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.4026, allocations: 26.59 kB / 0.5142 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4026, allocations: 3.938 kB / 0.5142 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4026, allocations: 2.844 kB / 0.5142 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4026, allocations: 0 / 0.5142 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.4028, allocations: 232.6 kB / 0.5144 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4028, allocations: 0 / 0.5144 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.4029, allocations: 25.94 kB / 0.5144 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4029, allocations: 0 / 0.5144 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4029, allocations: 7 kB / 0.5144 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.403, allocations: 3.938 kB / 0.5144 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.403, allocations: 7.188 kB / 0.5144 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.4071, allocations: 2.067 MB / 0.5165 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.4072, allocations: 98.61 kB / 0.5166 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.4072, allocations: 0 / 0.5166 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.4074, allocations: 29.23 kB / 0.5166 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/0.4075, allocations: 14.92 kB / 0.5166 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.4075, allocations: 6.844 kB / 0.5166 GB, free: 31.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4076, allocations: 162.3 kB / 0.5168 GB, free: 31.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4076, allocations: 0 / 0.5168 GB, free: 31.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00035/0.408, allocations: 56.31 kB / 0.5168 GB, free: 31.29 MB / 378.7 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.0008856/0.4089, allocations: 421.4 kB / 0.5172 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005961/0.4095, allocations: 213.7 kB / 0.5174 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4095, allocations: 1.656 kB / 0.5174 GB, free: 30.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.4097, allocations: 84.36 kB / 0.5175 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.4101, allocations: 46.19 kB / 0.5175 GB, free: 30.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.4108, allocations: 0.4925 MB / 0.518 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.4109, allocations: 0.7272 MB / 0.5187 GB, free: 29.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.411, allocations: 29.22 kB / 0.5188 GB, free: 29.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.251e-05/0.4111, allocations: 21.64 kB / 0.5188 GB, free: 29.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4111, allocations: 0 / 0.5188 GB, free: 29.85 MB / 378.7 MB Notification: Performance of Templates: time 0.005546/0.4167, allocations: 2.99 MB / 0.5217 GB, free: 29.59 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)