Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001689/0.001689, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002224, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 76.11 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4062, allocations: 62.43 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003297/0.4095, allocations: 2.03 MB / 0.533 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.4114, allocations: 1.112 MB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.4116, allocations: 1.156 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.4119, allocations: 54.66 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003647/0.4123, allocations: 112 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.4126, allocations: 115.9 kB / 0.5344 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.4129, allocations: 201.8 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4131, allocations: 19.91 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.4132, allocations: 92.33 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.4134, allocations: 77.44 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.487e-05/0.4134, allocations: 11.84 kB / 0.5348 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.4135, allocations: 55.31 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.4136, allocations: 36.09 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.753e-05/0.4137, allocations: 80.02 kB / 0.5349 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.4141, allocations: 197.6 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4141, allocations: 0 / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4141, allocations: 0 / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4141, allocations: 0 / 0.5351 GB, free: 10.43 MB / 398.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.001022/0.4151, allocations: 0.5765 MB / 0.5357 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4152, allocations: 9.25 kB / 0.5357 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.4152, allocations: 18.12 kB / 0.5357 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.4157, allocations: 256.4 kB / 0.536 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.4157, allocations: 4.25 kB / 0.536 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.059e-05/0.4158, allocations: 14.69 kB / 0.536 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.4162, allocations: 152.9 kB / 0.5361 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.4162, allocations: 3.984 kB / 0.5361 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.4163, allocations: 2.125 kB / 0.5361 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4163, allocations: 1.375 kB / 0.5361 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.4167, allocations: 111.5 kB / 0.5362 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/0.4174, allocations: 0.5512 MB / 0.5368 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.4181, allocations: 167.7 kB / 0.5369 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.4184, allocations: 72.89 kB / 0.537 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.4185, allocations: 1.219 kB / 0.537 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003802/0.4188, allocations: 137.9 kB / 0.5371 GB, free: 8.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4189, allocations: 0 / 0.5371 GB, free: 8.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.00102/0.4199, allocations: 260.7 kB / 0.5374 GB, free: 8.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.4199, allocations: 61.62 kB / 0.5375 GB, free: 8.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.4203, allocations: 234.1 kB / 0.5377 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.4203, allocations: 31.95 kB / 0.5377 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4204, allocations: 124.4 kB / 0.5378 GB, free: 8.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.4205, allocations: 36.91 kB / 0.5379 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.4206, allocations: 34.88 kB / 0.5379 GB, free: 8.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4207, allocations: 334.7 kB / 0.5382 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.421, allocations: 64.78 kB / 0.5383 GB, free: 7.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.4213, allocations: 107.5 kB / 0.5384 GB, free: 7.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.4219, allocations: 199.3 kB / 0.5386 GB, free: 7.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4219, allocations: 4 kB / 0.5386 GB, free: 7.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006855/0.4226, allocations: 253.5 kB / 0.5388 GB, free: 7.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.4226, allocations: 36.5 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4226, allocations: 1.125 kB / 0.5388 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.4227, allocations: 6.375 kB / 0.5389 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.4229, allocations: 44.59 kB / 0.5389 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4229, allocations: 2.25 kB / 0.5389 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.4231, allocations: 29.86 kB / 0.5389 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.4231, allocations: 8.625 kB / 0.5389 GB, free: 7.227 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.0001718/0.4233, allocations: 130.7 kB / 0.5391 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.4234, allocations: 16.78 kB / 0.5391 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.4235, allocations: 23.34 kB / 0.5391 GB, free: 7.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.4235, allocations: 9.109 kB / 0.5391 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.4235, allocations: 9.047 kB / 0.5391 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4235, allocations: 0 / 0.5391 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.4238, allocations: 244.4 kB / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4238, allocations: 0 / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.424, allocations: 20.36 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.424, allocations: 0.9375 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.424, allocations: 5.984 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.424, allocations: 3.938 kB / 0.5394 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.424, allocations: 5.125 kB / 0.5394 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009065/0.4249, allocations: 298.1 kB / 0.5397 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.751e-05/0.425, allocations: 101.4 kB / 0.5398 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.4251, allocations: 2.156 kB / 0.5398 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4252, allocations: 31.69 kB / 0.5398 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.4253, allocations: 21.66 kB / 0.5398 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.4253, allocations: 8.469 kB / 0.5398 GB, free: 6.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001775/0.4255, allocations: 172 kB / 0.54 GB, free: 6.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4255, allocations: 0 / 0.54 GB, free: 6.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.4258, allocations: 36.66 kB / 0.54 GB, free: 6.328 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.001055/0.4269, allocations: 411.1 kB / 0.5404 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006839/0.4276, allocations: 215.6 kB / 0.5406 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4276, allocations: 256 / 0.5406 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.4279, allocations: 83.69 kB / 0.5407 GB, free: 5.945 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.4282, allocations: 46.05 kB / 0.5407 GB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007776/0.429, allocations: 316.8 kB / 0.541 GB, free: 5.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4294, allocations: 0.7315 MB / 0.5418 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.159e-05/0.4295, allocations: 19.69 kB / 0.5418 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.4295, allocations: 19 kB / 0.5418 GB, free: 4.945 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4295, allocations: 0 / 0.5418 GB, free: 4.945 MB / 398.1 MB Notification: Performance of Templates: time 0.006787/0.4363, allocations: 2.859 MB / 0.5446 GB, free: 3.504 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)