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.00124/0.00124, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2014/0.2014, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 79.88 kB / 481.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3435, allocations: 62.44 MB / 0.5311 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003034/0.3466, allocations: 1.742 MB / 0.5328 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.3489, allocations: 1.613 MB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.349, allocations: 1.375 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3493, allocations: 40.02 kB / 0.5344 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.3496, allocations: 108.3 kB / 0.5345 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001978/0.3498, allocations: 74.92 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.35, allocations: 106.4 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3502, allocations: 6.875 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3503, allocations: 49.66 kB / 0.5347 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.3505, allocations: 46.55 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3505, allocations: 4.938 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.3507, allocations: 114.7 kB / 0.5349 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.3508, allocations: 20.75 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.562e-05/0.3509, allocations: 39.8 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.3512, allocations: 171.2 kB / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3512, allocations: 0 / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3512, allocations: 0 / 0.5351 GB, free: 10.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3513, allocations: 1.156 kB / 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.000656/0.3519, allocations: 423.9 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.352, allocations: 9.719 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.352, allocations: 13.23 kB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.3524, allocations: 218.3 kB / 0.5357 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3524, allocations: 6.156 kB / 0.5357 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.3524, allocations: 2.125 kB / 0.5357 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.3526, allocations: 66.05 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3527, allocations: 0 / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3527, allocations: 1.062 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.3527, allocations: 1.125 kB / 0.5358 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.3528, allocations: 22.58 kB / 0.5358 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.3532, allocations: 296.8 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3534, allocations: 53.88 kB / 0.5362 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.3535, allocations: 21.91 kB / 0.5362 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3535, allocations: 1.094 kB / 0.5362 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3537, allocations: 72.95 kB / 0.5363 GB, free: 9.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3537, allocations: 0 / 0.5363 GB, free: 9.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000582/0.3543, allocations: 173.9 kB / 0.5364 GB, free: 9.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.3544, allocations: 85.83 kB / 0.5365 GB, free: 9.133 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3546, allocations: 168.9 kB / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3546, allocations: 26.92 kB / 0.5367 GB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.3547, allocations: 100.1 kB / 0.5368 GB, free: 8.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.3547, allocations: 24.03 kB / 0.5368 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.3548, allocations: 28.55 kB / 0.5368 GB, free: 8.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3549, allocations: 322.1 kB / 0.5371 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.3549, allocations: 19.28 kB / 0.5372 GB, free: 8.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.355, allocations: 40.25 kB / 0.5372 GB, free: 8.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.3551, allocations: 68.88 kB / 0.5373 GB, free: 8.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3552, allocations: 0 / 0.5373 GB, free: 8.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.3553, allocations: 98.62 kB / 0.5374 GB, free: 8.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3554, allocations: 4.531 kB / 0.5374 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3554, allocations: 5.422 kB / 0.5374 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3554, allocations: 1.469 kB / 0.5374 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.3555, allocations: 16.97 kB / 0.5374 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3555, allocations: 3.938 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.3556, allocations: 2.719 kB / 0.5374 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3556, allocations: 6.797 kB / 0.5374 GB, free: 8.328 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 9.133e-05/0.3557, allocations: 127.9 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.3557, allocations: 13.41 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.3558, allocations: 12.5 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3558, allocations: 5.141 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3558, allocations: 3.938 kB / 0.5376 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3558, allocations: 1.125 kB / 0.5376 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.3562, allocations: 395.6 kB / 0.5379 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3563, allocations: 1.281 kB / 0.5379 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.3563, allocations: 11.56 kB / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3563, allocations: 1.375 kB / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3563, allocations: 5.344 kB / 0.538 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.3563, allocations: 5.219 kB / 0.538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3563, allocations: 0 / 0.538 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.3566, allocations: 200.4 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.3566, allocations: 96.66 kB / 0.5382 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3567, allocations: 5.438 kB / 0.5382 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.3567, allocations: 1.375 kB / 0.5382 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.3568, allocations: 8.703 kB / 0.5383 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3568, allocations: 3.156 kB / 0.5383 GB, free: 7.488 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.3569, allocations: 131.2 kB / 0.5384 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3569, allocations: 0 / 0.5384 GB, free: 7.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.3573, allocations: 50.2 kB / 0.5384 GB, free: 7.367 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.001326/0.3586, allocations: 0.5401 MB / 0.539 GB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.3588, allocations: 61.55 kB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3588, allocations: 1 kB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.588e-05/0.3589, allocations: 33.91 kB / 0.539 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3593, allocations: 32.47 kB / 0.5391 GB, free: 7.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.3597, allocations: 191.9 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3599, allocations: 0.6949 MB / 0.5399 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.36, allocations: 27.02 kB / 0.54 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.3601, allocations: 26.17 kB / 0.54 GB, free: 6.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3601, allocations: 0 / 0.54 GB, free: 6.121 MB / 398.1 MB Notification: Performance of Templates: time 0.005108/0.3652, allocations: 2.362 MB / 0.5423 GB, free: 4.91 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)