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.001591/0.001591, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.002071, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 79.81 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3406, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003188/0.3439, allocations: 2.038 MB / 0.5337 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3457, allocations: 1.113 MB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.3458, allocations: 5.25 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003171/0.3461, allocations: 45.36 kB / 0.5348 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.3465, allocations: 108.8 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3467, allocations: 115.5 kB / 0.5351 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.347, allocations: 201.9 kB / 0.5352 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3472, allocations: 31.41 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3473, allocations: 85.88 kB / 0.5354 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3475, allocations: 77.61 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.3475, allocations: 14.94 kB / 0.5354 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3476, allocations: 55.72 kB / 0.5355 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/0.3477, allocations: 40.09 kB / 0.5355 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.117e-05/0.3478, allocations: 68.11 kB / 0.5356 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.3481, allocations: 204.1 kB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3481, allocations: 1.281 kB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3481, allocations: 0 / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.3481, allocations: 0 / 0.5358 GB, free: 10.47 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.000967/0.3491, allocations: 0.5618 MB / 0.5363 GB, free: 9.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3491, allocations: 13.56 kB / 0.5364 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.3492, allocations: 18.38 kB / 0.5364 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.3495, allocations: 256.7 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3495, allocations: 3.688 kB / 0.5366 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3496, allocations: 14.19 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.35, allocations: 152.6 kB / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.35, allocations: 0 / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.35, allocations: 1.469 kB / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.35, allocations: 1.875 kB / 0.5368 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.3505, allocations: 115.6 kB / 0.5369 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006258/0.3512, allocations: 0.5462 MB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/0.3519, allocations: 163.9 kB / 0.5376 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.3521, allocations: 73.48 kB / 0.5377 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3522, allocations: 1.281 kB / 0.5377 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.3525, allocations: 141.2 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.3526, allocations: 1.375 kB / 0.5378 GB, free: 8.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008913/0.3535, allocations: 256.9 kB / 0.538 GB, free: 8.551 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3535, allocations: 65.47 kB / 0.5381 GB, free: 8.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3538, allocations: 228.9 kB / 0.5383 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3538, allocations: 32.33 kB / 0.5384 GB, free: 8.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.3539, allocations: 124.3 kB / 0.5385 GB, free: 8.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.3539, allocations: 36.7 kB / 0.5385 GB, free: 8.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.354, allocations: 42.73 kB / 0.5385 GB, free: 8.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3541, allocations: 332.1 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.3544, allocations: 71.59 kB / 0.5389 GB, free: 7.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.3547, allocations: 100.1 kB / 0.539 GB, free: 7.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.3552, allocations: 193.9 kB / 0.5392 GB, free: 7.523 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3552, allocations: 9.062 kB / 0.5392 GB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000669/0.3559, allocations: 257.6 kB / 0.5395 GB, free: 7.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.3559, allocations: 31.42 kB / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3559, allocations: 1.188 kB / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.356, allocations: 2.219 kB / 0.5395 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.3562, allocations: 45.86 kB / 0.5395 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3562, allocations: 1.188 kB / 0.5395 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3563, allocations: 30.25 kB / 0.5396 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.3564, allocations: 9.5 kB / 0.5396 GB, free: 7.289 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.000137/0.3565, allocations: 137.2 kB / 0.5397 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3566, allocations: 20.47 kB / 0.5397 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.3566, allocations: 23.95 kB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3566, allocations: 5.094 kB / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3566, allocations: 0 / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3566, allocations: 1.062 kB / 0.5398 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.3568, allocations: 240.8 kB / 0.54 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3569, allocations: 0 / 0.54 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.357, allocations: 23.78 kB / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.357, allocations: 1.281 kB / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3571, allocations: 1.062 kB / 0.54 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3571, allocations: 9.062 kB / 0.54 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3571, allocations: 0 / 0.54 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.3579, allocations: 306.4 kB / 0.5403 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.358, allocations: 96.91 kB / 0.5404 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.3581, allocations: 2.656 kB / 0.5404 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3582, allocations: 31.28 kB / 0.5404 GB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.3583, allocations: 15.08 kB / 0.5405 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.3583, allocations: 10.67 kB / 0.5405 GB, free: 6.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3585, allocations: 171.5 kB / 0.5406 GB, free: 6.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3585, allocations: 0 / 0.5406 GB, free: 6.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000251/0.3587, allocations: 37.78 kB / 0.5407 GB, free: 6.395 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.0009267/0.3597, allocations: 414.1 kB / 0.5411 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006235/0.3603, allocations: 220.5 kB / 0.5413 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3603, allocations: 1.688 kB / 0.5413 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.3606, allocations: 71.66 kB / 0.5413 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.3609, allocations: 46.92 kB / 0.5414 GB, free: 5.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.3616, allocations: 339.8 kB / 0.5417 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3619, allocations: 0.7271 MB / 0.5424 GB, free: 5.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.362, allocations: 22.19 kB / 0.5424 GB, free: 5 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.362, allocations: 1.312 kB / 0.5424 GB, free: 5 MB / 398.1 MB Notification: Performance of Templates: time 0.005096/0.3671, allocations: 2.862 MB / 0.5452 GB, free: 3.512 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)