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.001406/0.001406, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2526/0.2526, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 76.09 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4149, allocations: 62.45 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003121/0.4181, allocations: 1.731 MB / 0.5328 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.4206, allocations: 1.624 MB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.695e-05/0.4207, allocations: 5.062 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.421, allocations: 37.47 kB / 0.5344 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.4214, allocations: 96.28 kB / 0.5345 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.4216, allocations: 78.78 kB / 0.5346 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.4218, allocations: 106.7 kB / 0.5347 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.4219, allocations: 14.61 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.422, allocations: 49.06 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.4222, allocations: 38.56 kB / 0.5348 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4222, allocations: 8.688 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.4224, allocations: 114.2 kB / 0.5349 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.419e-05/0.4225, allocations: 21.42 kB / 0.5349 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.4226, allocations: 36.03 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.4229, allocations: 167.2 kB / 0.5351 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.4229, allocations: 4 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4229, allocations: 0 / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4229, allocations: 1.375 kB / 0.5351 GB, free: 10.49 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.0005985/0.4235, allocations: 436.7 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4236, allocations: 9.625 kB / 0.5355 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.4236, allocations: 14.34 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.4239, allocations: 203.9 kB / 0.5357 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.424, allocations: 13.3 kB / 0.5357 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.424, allocations: 6.75 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.4242, allocations: 65.14 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4242, allocations: 1.438 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4242, allocations: 0 / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4242, allocations: 1.281 kB / 0.5358 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.4243, allocations: 21.33 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.4247, allocations: 285.4 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.4249, allocations: 58.05 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.425, allocations: 22.34 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.425, allocations: 1.188 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.4251, allocations: 68.36 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.745e-06/0.4252, allocations: 5.219 kB / 0.5363 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005826/0.4257, allocations: 184.1 kB / 0.5364 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.4258, allocations: 83.23 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.426, allocations: 161.5 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.426, allocations: 31.14 kB / 0.5367 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.4261, allocations: 91.7 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.4261, allocations: 31.2 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.4262, allocations: 24.5 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4263, allocations: 325.6 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.4264, allocations: 19.05 kB / 0.5372 GB, free: 8.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.301e-05/0.4265, allocations: 45.12 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.4266, allocations: 59.27 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4266, allocations: 1.062 kB / 0.5373 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.4268, allocations: 107.2 kB / 0.5374 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4269, allocations: 9.438 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4269, allocations: 1.531 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4269, allocations: 0 / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.411e-05/0.427, allocations: 21.67 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.427, allocations: 5.094 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.4271, allocations: 2.219 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4271, allocations: 2.281 kB / 0.5374 GB, free: 8.273 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.0001156/0.4272, allocations: 136 kB / 0.5375 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.4272, allocations: 8.391 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.4273, allocations: 13.28 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4273, allocations: 1.062 kB / 0.5376 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4273, allocations: 3.938 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.4273, allocations: 1.156 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.4277, allocations: 396.1 kB / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4278, allocations: 0 / 0.5379 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.587e-05/0.4278, allocations: 15.88 kB / 0.538 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4278, allocations: 5 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4278, allocations: 1.312 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4278, allocations: 1.219 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4278, allocations: 1.312 kB / 0.538 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.4281, allocations: 203.6 kB / 0.5382 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.4281, allocations: 92.11 kB / 0.5382 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.4282, allocations: 14.08 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.4283, allocations: 1.781 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.247e-05/0.4283, allocations: 11.8 kB / 0.5383 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4283, allocations: 3.219 kB / 0.5383 GB, free: 7.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4284, allocations: 127.7 kB / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4284, allocations: 0 / 0.5384 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003009/0.4288, allocations: 50.67 kB / 0.5384 GB, free: 7.309 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.001293/0.43, allocations: 0.5362 MB / 0.539 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.4303, allocations: 58.77 kB / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4303, allocations: 0 / 0.539 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.4303, allocations: 26.05 kB / 0.539 GB, free: 7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.4307, allocations: 43.58 kB / 0.5391 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.4311, allocations: 203.5 kB / 0.5393 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.4314, allocations: 0.6985 MB / 0.54 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.816e-05/0.4315, allocations: 15.44 kB / 0.54 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.4315, allocations: 24.7 kB / 0.54 GB, free: 6.062 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4316, allocations: 1.375 kB / 0.54 GB, free: 6.062 MB / 398.1 MB Notification: Performance of Templates: time 0.007316/0.4389, allocations: 2.342 MB / 0.5423 GB, free: 4.867 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)