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/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 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 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) 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="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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001334, allocations: 117.2 kB / 17.78 MB, free: 5.258 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.001389/0.001389, allocations: 185 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2042/0.2042, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4011, allocations: 60.83 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004151/0.4053, allocations: 2.008 MB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.4072, allocations: 0.9663 MB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.4075, allocations: 1.062 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.408, allocations: 44.64 kB / 0.5219 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.4084, allocations: 82.2 kB / 0.522 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.409, allocations: 145.6 kB / 0.5221 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.4093, allocations: 204.1 kB / 0.5223 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.4095, allocations: 26.44 kB / 0.5224 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.4097, allocations: 81.89 kB / 0.5224 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.4098, allocations: 73.53 kB / 0.5225 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.4099, allocations: 11.53 kB / 0.5225 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.41, allocations: 54.55 kB / 0.5226 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.4101, allocations: 39.94 kB / 0.5226 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.4102, allocations: 66.81 kB / 0.5227 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000349/0.4106, allocations: 196.4 kB / 0.5229 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4106, allocations: 1.734 kB / 0.5229 GB, free: 1.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4106, allocations: 0 / 0.5229 GB, free: 1.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4106, allocations: 7.938 kB / 0.5229 GB, free: 1.047 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.000862/0.4115, allocations: 0.5549 MB / 0.5234 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4115, allocations: 9.5 kB / 0.5234 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.721e-05/0.4116, allocations: 19.03 kB / 0.5234 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.4119, allocations: 250 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4119, allocations: 12.59 kB / 0.5237 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.412, allocations: 18.52 kB / 0.5237 GB, free: 272 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.4124, allocations: 146.1 kB / 0.5238 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4124, allocations: 3.984 kB / 0.5238 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.4124, allocations: 2.906 kB / 0.5238 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.4124, allocations: 1.625 kB / 0.5239 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.4129, allocations: 117.2 kB / 0.524 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007086/0.4136, allocations: 0.5407 MB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.4143, allocations: 158.5 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.4146, allocations: 80.72 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4146, allocations: 1.781 kB / 0.5247 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.415, allocations: 138.9 kB / 0.5249 GB, free: 15.51 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.415, allocations: 0 / 0.5249 GB, free: 15.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008748/0.4159, allocations: 257.7 kB / 0.5251 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.4159, allocations: 59.67 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.4162, allocations: 223.8 kB / 0.5254 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4162, allocations: 31.08 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4163, allocations: 134.3 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.4164, allocations: 36.39 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.915e-05/0.4164, allocations: 36.95 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4166, allocations: 329.4 kB / 0.5259 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.4168, allocations: 65.11 kB / 0.526 GB, free: 14.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.4172, allocations: 112.6 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.4177, allocations: 193.7 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4177, allocations: 1.031 kB / 0.5263 GB, free: 14.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006583/0.4184, allocations: 252.7 kB / 0.5265 GB, free: 14.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4184, allocations: 36.28 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4184, allocations: 2.062 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4185, allocations: 2.938 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.4187, allocations: 41.08 kB / 0.5266 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4187, allocations: 1.766 kB / 0.5266 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.4189, allocations: 28.77 kB / 0.5266 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4189, allocations: 9.906 kB / 0.5266 GB, free: 14.32 MB / 398.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.0001313/0.419, allocations: 136.4 kB / 0.5268 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.4191, allocations: 17.55 kB / 0.5268 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.4191, allocations: 20.5 kB / 0.5268 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.4192, allocations: 10.69 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4192, allocations: 0 / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4192, allocations: 0.75 kB / 0.5268 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.4194, allocations: 237.3 kB / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4194, allocations: 0 / 0.527 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.4196, allocations: 27.66 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4196, allocations: 5.25 kB / 0.5271 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.4196, allocations: 5.219 kB / 0.5271 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4196, allocations: 3.938 kB / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4196, allocations: 1.094 kB / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.4204, allocations: 301.8 kB / 0.5274 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.4205, allocations: 92.66 kB / 0.5274 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.4206, allocations: 13.58 kB / 0.5275 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.4207, allocations: 23.62 kB / 0.5275 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.4208, allocations: 19.12 kB / 0.5275 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.4208, allocations: 8 kB / 0.5275 GB, free: 13.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.421, allocations: 164.7 kB / 0.5277 GB, free: 13.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.421, allocations: 4.062 kB / 0.5277 GB, free: 13.45 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.4213, allocations: 36.81 kB / 0.5277 GB, free: 13.45 MB / 398.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.0009516/0.4222, allocations: 407 kB / 0.5281 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006223/0.4229, allocations: 230.1 kB / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4229, allocations: 0 / 0.5283 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002638/0.4232, allocations: 73.31 kB / 0.5284 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.4235, allocations: 43.78 kB / 0.5284 GB, free: 13.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.4242, allocations: 322.7 kB / 0.5287 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.4246, allocations: 0.7297 MB / 0.5294 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.4247, allocations: 21.94 kB / 0.5295 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.4247, allocations: 21.94 kB / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4248, allocations: 0 / 0.5295 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Templates: time 0.008079/0.4328, allocations: 2.831 MB / 0.5322 GB, free: 10.64 MB / 398.1 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)