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/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.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/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 122.2 kB / 17.79 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 202 kB / 18.73 MB, free: 4.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2553/0.2553, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 79.86 kB / 481.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4595, allocations: 62.43 MB / 0.5311 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003326/0.4629, allocations: 1.736 MB / 0.5328 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.4656, allocations: 1.626 MB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.304e-05/0.4657, allocations: 1.312 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.4661, allocations: 36.19 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.4664, allocations: 104.3 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.4667, allocations: 75.16 kB / 0.5346 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.4669, allocations: 105.8 kB / 0.5347 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.467, allocations: 10.78 kB / 0.5347 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.4671, allocations: 52.98 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.4673, allocations: 42.61 kB / 0.5348 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.4673, allocations: 4.969 kB / 0.5348 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.4675, allocations: 118.7 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.4676, allocations: 16.61 kB / 0.5349 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.4677, allocations: 27.91 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.468, allocations: 171.6 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.468, allocations: 0 / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.468, allocations: 1.25 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.468, allocations: 0 / 0.5351 GB, free: 10.53 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000672/0.4687, allocations: 445.8 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4688, allocations: 9.125 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.4688, allocations: 13.5 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.4692, allocations: 211.3 kB / 0.5357 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4692, allocations: 6.062 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.4692, allocations: 2.156 kB / 0.5357 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.4694, allocations: 69.64 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.4694, allocations: 0.9375 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.4695, allocations: 0 / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4695, allocations: 1 kB / 0.5358 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.4696, allocations: 26.77 kB / 0.5358 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.47, allocations: 285.3 kB / 0.5361 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.4702, allocations: 57.72 kB / 0.5362 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.4702, allocations: 26.45 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.4703, allocations: 3.938 kB / 0.5362 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.4704, allocations: 66.52 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4704, allocations: 0 / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005861/0.471, allocations: 177.1 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.4711, allocations: 86.3 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.4713, allocations: 170.1 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4714, allocations: 26.89 kB / 0.5367 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.502e-05/0.4714, allocations: 96.53 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.4715, allocations: 28.34 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.4716, allocations: 28.11 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4717, allocations: 321.7 kB / 0.5371 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.4718, allocations: 18.53 kB / 0.5372 GB, free: 8.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.4719, allocations: 46.31 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.472, allocations: 62.17 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.472, allocations: 1.125 kB / 0.5373 GB, free: 8.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002563/0.4723, allocations: 103.2 kB / 0.5374 GB, free: 8.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4723, allocations: 7.688 kB / 0.5374 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4723, allocations: 0 / 0.5374 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4723, allocations: 5.156 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.4724, allocations: 16.97 kB / 0.5374 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4725, allocations: 5.062 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.4725, allocations: 7.234 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.4725, allocations: 2.312 kB / 0.5374 GB, free: 8.301 MB / 398.1 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 0.0001014/0.4726, allocations: 124.1 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.4727, allocations: 13.27 kB / 0.5375 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.244e-05/0.4727, allocations: 16.98 kB / 0.5376 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4727, allocations: 5.062 kB / 0.5376 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.4727, allocations: 7.875 kB / 0.5376 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4728, allocations: 0 / 0.5376 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005262/0.4733, allocations: 392.4 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4733, allocations: 1.219 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.4733, allocations: 15.56 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4733, allocations: 1 kB / 0.538 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.4734, allocations: 5.094 kB / 0.538 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.4734, allocations: 5.016 kB / 0.538 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.4734, allocations: 5.25 kB / 0.538 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.4737, allocations: 195.8 kB / 0.5382 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.4737, allocations: 92.81 kB / 0.5383 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.4738, allocations: 5.188 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.4738, allocations: 6.641 kB / 0.5383 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.4739, allocations: 7.719 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4739, allocations: 6.469 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.474, allocations: 127.3 kB / 0.5384 GB, free: 7.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.474, allocations: 1.156 kB / 0.5384 GB, free: 7.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003429/0.4744, allocations: 49.08 kB / 0.5384 GB, free: 7.336 MB / 398.1 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.0014/0.4758, allocations: 0.5394 MB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.476, allocations: 62.94 kB / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4761, allocations: 0 / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.4761, allocations: 29.39 kB / 0.5391 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.4765, allocations: 26.42 kB / 0.5391 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005024/0.477, allocations: 202.6 kB / 0.5393 GB, free: 6.832 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.4774, allocations: 0.6985 MB / 0.54 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.4775, allocations: 19.89 kB / 0.54 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.4776, allocations: 25.55 kB / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4776, allocations: 0 / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of Templates: time 0.006044/0.4836, allocations: 2.359 MB / 0.5423 GB, free: 4.887 MB / 398.1 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)