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.001193/0.001193, allocations: 108.7 kB / 18.45 MB, free: 4.621 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.001215/0.001215, allocations: 183.1 kB / 19.38 MB, free: 3.699 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.318/1.318, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2031/0.2031, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3933, allocations: 60.82 MB / 0.5196 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003837/0.3972, allocations: 2.016 MB / 0.5216 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3988, allocations: 0.9648 MB / 0.5225 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3989, allocations: 2.531 kB / 0.5225 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.3993, allocations: 47.66 kB / 0.5226 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.3996, allocations: 79.31 kB / 0.5227 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.4, allocations: 142.3 kB / 0.5228 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.4003, allocations: 194.8 kB / 0.523 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4005, allocations: 30.27 kB / 0.523 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.4006, allocations: 82.62 kB / 0.5231 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.4008, allocations: 78.22 kB / 0.5232 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.4008, allocations: 11.78 kB / 0.5232 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4009, allocations: 50.45 kB / 0.5232 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.818e-05/0.401, allocations: 40.52 kB / 0.5233 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.4011, allocations: 70.25 kB / 0.5233 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.4015, allocations: 204.8 kB / 0.5235 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4015, allocations: 0 / 0.5235 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4015, allocations: 0 / 0.5235 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.4015, allocations: 0 / 0.5235 GB, free: 1.062 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.0009342/0.4025, allocations: 0.5502 MB / 0.5241 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.4025, allocations: 9.281 kB / 0.5241 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.4026, allocations: 23.19 kB / 0.5241 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.4029, allocations: 249.2 kB / 0.5243 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.4029, allocations: 9.547 kB / 0.5243 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.403, allocations: 14.91 kB / 0.5243 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.4034, allocations: 141.7 kB / 0.5245 GB, free: 224 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4034, allocations: 4 kB / 0.5245 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.4035, allocations: 10.11 kB / 0.5245 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4035, allocations: 2.594 kB / 0.5245 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/0.4039, allocations: 108.9 kB / 0.5246 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006741/0.4046, allocations: 0.5406 MB / 0.5251 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.4054, allocations: 160.7 kB / 0.5253 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.4057, allocations: 81.94 kB / 0.5254 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4057, allocations: 2.25 kB / 0.5254 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004185/0.4061, allocations: 140.9 kB / 0.5255 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.4061, allocations: 6.062 kB / 0.5255 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009469/0.4071, allocations: 252.5 kB / 0.5257 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.4072, allocations: 58.36 kB / 0.5258 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.4074, allocations: 233.1 kB / 0.526 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4074, allocations: 27.98 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.4076, allocations: 125.8 kB / 0.5262 GB, free: 15.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.4076, allocations: 40.53 kB / 0.5262 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.849e-05/0.4077, allocations: 32.14 kB / 0.5262 GB, free: 15.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4078, allocations: 332 kB / 0.5266 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.4081, allocations: 66.72 kB / 0.5266 GB, free: 14.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.4084, allocations: 104.4 kB / 0.5267 GB, free: 14.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.409, allocations: 198.4 kB / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.409, allocations: 0 / 0.5269 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006809/0.4097, allocations: 257.1 kB / 0.5272 GB, free: 14.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.4097, allocations: 35.31 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.4097, allocations: 1.375 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.4098, allocations: 2.75 kB / 0.5272 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.41, allocations: 41.3 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.41, allocations: 7.484 kB / 0.5272 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.4102, allocations: 30.97 kB / 0.5273 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.4102, allocations: 10.36 kB / 0.5273 GB, free: 14.34 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.000132/0.4103, allocations: 128.4 kB / 0.5274 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.4104, allocations: 16.86 kB / 0.5274 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.4104, allocations: 23.78 kB / 0.5274 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.4105, allocations: 9.25 kB / 0.5274 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4105, allocations: 1.375 kB / 0.5274 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4105, allocations: 0 / 0.5274 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.4107, allocations: 239.7 kB / 0.5277 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4107, allocations: 3.984 kB / 0.5277 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4109, allocations: 28.42 kB / 0.5277 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.4109, allocations: 5.359 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.4109, allocations: 1.375 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4109, allocations: 3.938 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4109, allocations: 1.375 kB / 0.5277 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.4118, allocations: 301.2 kB / 0.528 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.4119, allocations: 88.42 kB / 0.5281 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.412, allocations: 6.406 kB / 0.5281 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.4121, allocations: 30.56 kB / 0.5281 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.4122, allocations: 19.34 kB / 0.5281 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.4123, allocations: 7.938 kB / 0.5282 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.4124, allocations: 164.9 kB / 0.5283 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4124, allocations: 3.938 kB / 0.5283 GB, free: 13.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.4127, allocations: 41.66 kB / 0.5284 GB, free: 13.46 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.0009602/0.4137, allocations: 402.5 kB / 0.5287 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006646/0.4144, allocations: 221.1 kB / 0.5289 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4144, allocations: 0 / 0.5289 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.4146, allocations: 80.28 kB / 0.529 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.415, allocations: 47.31 kB / 0.5291 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007231/0.4157, allocations: 339.3 kB / 0.5294 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.416, allocations: 0.7254 MB / 0.5301 GB, free: 12.1 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.988e-05/0.4161, allocations: 22.53 kB / 0.5301 GB, free: 12.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4161, allocations: 0 / 0.5301 GB, free: 12.09 MB / 398.1 MB Notification: Performance of Templates: time 0.005226/0.4214, allocations: 2.823 MB / 0.5329 GB, free: 10.61 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)