Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001233, allocations: 109.8 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.446/0.446, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4154, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003429/0.4189, allocations: 1.791 MB / 0.5169 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.4213, allocations: 1.624 MB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.956e-05/0.4214, allocations: 0 / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.4217, allocations: 40.72 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.422, allocations: 76.77 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.4223, allocations: 93.8 kB / 0.5187 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.4225, allocations: 110.3 kB / 0.5188 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.4226, allocations: 9.281 kB / 0.5188 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.4227, allocations: 44.28 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.4229, allocations: 43.27 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.4229, allocations: 2.812 kB / 0.5189 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.4231, allocations: 103 kB / 0.519 GB, free: 35.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.4232, allocations: 17.2 kB / 0.519 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.4232, allocations: 35.81 kB / 0.519 GB, free: 35.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.4235, allocations: 171.1 kB / 0.5192 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4235, allocations: 3.938 kB / 0.5192 GB, free: 35.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4235, allocations: 0 / 0.5192 GB, free: 35.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.4235, allocations: 4 kB / 0.5192 GB, free: 35.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005776/0.4241, allocations: 423.3 kB / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4242, allocations: 10.81 kB / 0.5196 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.4242, allocations: 11.28 kB / 0.5196 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.4244, allocations: 207.7 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4245, allocations: 6.875 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.4245, allocations: 2.969 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4246, allocations: 75.55 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4247, allocations: 0 / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.4247, allocations: 0 / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4247, allocations: 0 / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.4248, allocations: 22.94 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.4251, allocations: 288.3 kB / 0.5202 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.4253, allocations: 60.5 kB / 0.5203 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.4253, allocations: 21.8 kB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4254, allocations: 5.984 kB / 0.5203 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.4256, allocations: 62.92 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4256, allocations: 0 / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000529/0.4261, allocations: 174.2 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.4262, allocations: 87.61 kB / 0.5206 GB, free: 33.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.4263, allocations: 165 kB / 0.5208 GB, free: 33.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.4263, allocations: 25.7 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.4264, allocations: 100.5 kB / 0.5209 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.4264, allocations: 21.81 kB / 0.5209 GB, free: 33.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.4265, allocations: 23.69 kB / 0.5209 GB, free: 33.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.4265, allocations: 321 kB / 0.5212 GB, free: 33.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.4266, allocations: 31.39 kB / 0.5213 GB, free: 33.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-05/0.4266, allocations: 45.05 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.863e-05/0.4267, allocations: 58 kB / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4268, allocations: 3.938 kB / 0.5214 GB, free: 33.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001569/0.4269, allocations: 103.1 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4269, allocations: 5.781 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.427, allocations: 4.062 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.427, allocations: 0 / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.928e-05/0.4271, allocations: 17.38 kB / 0.5215 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4271, allocations: 3.938 kB / 0.5215 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.4271, allocations: 6.719 kB / 0.5215 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.4272, allocations: 2.781 kB / 0.5215 GB, free: 33.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.342e-05/0.4272, allocations: 126.4 kB / 0.5216 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.4273, allocations: 9.719 kB / 0.5216 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.4273, allocations: 21.94 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4273, allocations: 4 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4273, allocations: 3.938 kB / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4273, allocations: 0 / 0.5217 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.4277, allocations: 403.1 kB / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4277, allocations: 0 / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/0.4278, allocations: 12.56 kB / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4278, allocations: 0 / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4278, allocations: 6.812 kB / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4278, allocations: 4.031 kB / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4278, allocations: 0 / 0.5221 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.4282, allocations: 0.7728 MB / 0.5228 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.4283, allocations: 91.31 kB / 0.5229 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.4283, allocations: 2.969 kB / 0.5229 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.889e-05/0.4284, allocations: 6.781 kB / 0.5229 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4284, allocations: 9.953 kB / 0.5229 GB, free: 31.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4285, allocations: 6.844 kB / 0.5229 GB, free: 31.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.555e-05/0.4285, allocations: 126.3 kB / 0.5231 GB, free: 31.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4285, allocations: 0 / 0.5231 GB, free: 31.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.4289, allocations: 45.8 kB / 0.5231 GB, free: 31.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001142/0.4301, allocations: 0.5471 MB / 0.5236 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.4303, allocations: 64.83 kB / 0.5237 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4303, allocations: 0 / 0.5237 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.365e-05/0.4303, allocations: 25.72 kB / 0.5237 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4307, allocations: 32.3 kB / 0.5238 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.4311, allocations: 344.5 kB / 0.5241 GB, free: 30.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.4313, allocations: 0.7034 MB / 0.5248 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.934e-05/0.4313, allocations: 16.48 kB / 0.5248 GB, free: 30.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.4314, allocations: 23.5 kB / 0.5248 GB, free: 30.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4314, allocations: 0 / 0.5248 GB, free: 30.21 MB / 378.7 MB Notification: Performance of Templates: time 0.005444/0.4368, allocations: 2.333 MB / 0.5271 GB, free: 29.96 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)