Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.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.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 112.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001842/0.001842, allocations: 200 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 75.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3687, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004235/0.373, allocations: 2.018 MB / 0.5336 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.3746, allocations: 0.8069 MB / 0.5344 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.3747, allocations: 2.75 kB / 0.5344 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.3752, allocations: 173.8 kB / 0.5346 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.3758, allocations: 214.9 kB / 0.5348 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009158/0.3767, allocations: 418.8 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.3771, allocations: 302.3 kB / 0.5355 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.3772, allocations: 57.38 kB / 0.5355 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.3774, allocations: 129 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.3776, allocations: 161.6 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.3776, allocations: 12 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.3777, allocations: 48.41 kB / 0.5359 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3779, allocations: 169.1 kB / 0.536 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.3781, allocations: 180 kB / 0.5362 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004598/0.3786, allocations: 434.6 kB / 0.5366 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3786, allocations: 0 / 0.5366 GB, free: 9.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3786, allocations: 4 kB / 0.5366 GB, free: 9.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3786, allocations: 1.094 kB / 0.5366 GB, free: 9.973 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001171/0.3798, allocations: 0.8279 MB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3798, allocations: 9.594 kB / 0.5374 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.3799, allocations: 59.69 kB / 0.5375 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006247/0.3806, allocations: 0.5039 MB / 0.538 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3806, allocations: 8.219 kB / 0.538 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.3806, allocations: 13.97 kB / 0.538 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.381, allocations: 155.4 kB / 0.5382 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3811, allocations: 9.359 kB / 0.5382 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3811, allocations: 9.344 kB / 0.5382 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3811, allocations: 2.5 kB / 0.5382 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.3816, allocations: 141 kB / 0.5383 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.3826, allocations: 0.7228 MB / 0.539 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.383, allocations: 133.8 kB / 0.5392 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.3833, allocations: 77.19 kB / 0.5392 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.3833, allocations: 6.219 kB / 0.5392 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3833, allocations: 35.72 kB / 0.5393 GB, free: 7.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3833, allocations: 0 / 0.5393 GB, free: 7.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00252/0.3859, allocations: 0.8043 MB / 0.5401 GB, free: 7.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.3859, allocations: 83.19 kB / 0.5401 GB, free: 7.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.3872, allocations: 1.05 MB / 0.5412 GB, free: 6.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3872, allocations: 26.83 kB / 0.5412 GB, free: 6.832 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.3874, allocations: 283.9 kB / 0.5415 GB, free: 6.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.3875, allocations: 61.47 kB / 0.5415 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/0.3876, allocations: 29.78 kB / 0.5415 GB, free: 6.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3877, allocations: 316.3 kB / 0.5418 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.3881, allocations: 123.3 kB / 0.542 GB, free: 6.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/0.3885, allocations: 130 kB / 0.5421 GB, free: 6.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/0.3893, allocations: 259.9 kB / 0.5423 GB, free: 5.934 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3893, allocations: 1.125 kB / 0.5423 GB, free: 5.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009524/0.3903, allocations: 360.4 kB / 0.5427 GB, free: 5.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3903, allocations: 5.656 kB / 0.5427 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3903, allocations: 0 / 0.5427 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3903, allocations: 2.25 kB / 0.5427 GB, free: 5.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.3907, allocations: 66.95 kB / 0.5427 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3907, allocations: 2.25 kB / 0.5428 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3909, allocations: 35.89 kB / 0.5428 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.391, allocations: 9.031 kB / 0.5428 GB, free: 5.699 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002337/0.3912, allocations: 228.7 kB / 0.543 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3913, allocations: 62.28 kB / 0.5431 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3924, allocations: 399.8 kB / 0.5435 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.3924, allocations: 4.125 kB / 0.5435 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3924, allocations: 3.938 kB / 0.5435 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3924, allocations: 5.156 kB / 0.5435 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.3941, allocations: 0.9356 MB / 0.5444 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3941, allocations: 0 / 0.5444 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.3944, allocations: 71.92 kB / 0.5444 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3944, allocations: 3.938 kB / 0.5445 GB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.3944, allocations: 8 kB / 0.5445 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3944, allocations: 0 / 0.5445 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3944, allocations: 4 kB / 0.5445 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009818/0.3954, allocations: 0.5134 MB / 0.545 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.3956, allocations: 148.3 kB / 0.5451 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.3956, allocations: 7.984 kB / 0.5451 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.3959, allocations: 35.95 kB / 0.5451 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.396, allocations: 27.91 kB / 0.5452 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.396, allocations: 8 kB / 0.5452 GB, free: 3.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008244/0.3969, allocations: 0.7684 MB / 0.5459 GB, free: 2.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3969, allocations: 0 / 0.5459 GB, free: 2.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.3973, allocations: 64 kB / 0.546 GB, free: 2.656 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0009789/0.3982, allocations: 407.7 kB / 0.5464 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009141/0.3992, allocations: 279.7 kB / 0.5466 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3992, allocations: 4 kB / 0.5467 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004267/0.3996, allocations: 147.8 kB / 0.5468 GB, free: 1.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.4003, allocations: 87.45 kB / 0.5469 GB, free: 1.883 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.4017, allocations: 1.034 MB / 0.5479 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.4022, allocations: 0.8699 MB / 0.5487 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.4023, allocations: 51.36 kB / 0.5488 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4023, allocations: 0 / 0.5488 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Templates: time 0.009409/0.4117, allocations: 6.528 MB / 0.5552 GB, free: 9.348 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)