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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 75.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3392, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003542/0.3428, allocations: 2.023 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3443, allocations: 0.8017 MB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.3444, allocations: 2.312 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.3449, allocations: 182.3 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.3454, allocations: 210.4 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008712/0.3463, allocations: 423.3 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.3466, allocations: 288.4 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3468, allocations: 62.81 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.3469, allocations: 127.6 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.3471, allocations: 164.1 kB / 0.5348 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3472, allocations: 13.75 kB / 0.5348 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.3473, allocations: 39.62 kB / 0.5348 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.3475, allocations: 169.8 kB / 0.535 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.3477, allocations: 190.2 kB / 0.5352 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.3482, allocations: 446.7 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3482, allocations: 1.125 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3482, allocations: 4 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3483, allocations: 0 / 0.5356 GB, free: 9.75 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.001373/0.3496, allocations: 0.8917 MB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3497, allocations: 8.719 kB / 0.5365 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.3497, allocations: 46.77 kB / 0.5365 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3498, allocations: 68.2 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.3506, allocations: 0.5277 MB / 0.5371 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3506, allocations: 11.22 kB / 0.5371 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3506, allocations: 10.92 kB / 0.5371 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.351, allocations: 156.1 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.3511, allocations: 1.375 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3511, allocations: 9.062 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3511, allocations: 2.219 kB / 0.5373 GB, free: 8.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.3516, allocations: 140.5 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.3527, allocations: 0.7406 MB / 0.5382 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.3532, allocations: 137.4 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3534, allocations: 81.78 kB / 0.5384 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.3535, allocations: 2.312 kB / 0.5384 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3535, allocations: 35.84 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.3535, allocations: 0 / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002783/0.3563, allocations: 0.8363 MB / 0.5392 GB, free: 7.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.3564, allocations: 79.39 kB / 0.5393 GB, free: 6.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.3576, allocations: 1.079 MB / 0.5403 GB, free: 6.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3577, allocations: 30.8 kB / 0.5404 GB, free: 6.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.3579, allocations: 293.5 kB / 0.5407 GB, free: 6.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.358, allocations: 62.84 kB / 0.5407 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.3581, allocations: 33.23 kB / 0.5407 GB, free: 6.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.3582, allocations: 311.5 kB / 0.541 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.3587, allocations: 119.2 kB / 0.5412 GB, free: 5.719 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000461/0.3592, allocations: 134.5 kB / 0.5413 GB, free: 5.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.36, allocations: 260.2 kB / 0.5415 GB, free: 5.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3601, allocations: 3.938 kB / 0.5415 GB, free: 5.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001075/0.3611, allocations: 355.2 kB / 0.5419 GB, free: 5.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3612, allocations: 4.688 kB / 0.5419 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3612, allocations: 1.188 kB / 0.5419 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.3612, allocations: 1.281 kB / 0.5419 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/0.3615, allocations: 67.88 kB / 0.5419 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3615, allocations: 1.125 kB / 0.5419 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.3618, allocations: 42.91 kB / 0.542 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3618, allocations: 8.906 kB / 0.542 GB, free: 5.281 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.0002391/0.3621, allocations: 231.4 kB / 0.5422 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.3622, allocations: 67.91 kB / 0.5423 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.3634, allocations: 405.5 kB / 0.5427 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3634, allocations: 2.688 kB / 0.5427 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3634, allocations: 5.031 kB / 0.5427 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.3634, allocations: 5.516 kB / 0.5427 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3653, allocations: 0.9557 MB / 0.5436 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.3653, allocations: 3.938 kB / 0.5436 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.3656, allocations: 67.88 kB / 0.5437 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3656, allocations: 0 / 0.5437 GB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.3656, allocations: 4 kB / 0.5437 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3656, allocations: 4 kB / 0.5437 GB, free: 4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3656, allocations: 3.938 kB / 0.5437 GB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.3668, allocations: 0.5235 MB / 0.5442 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.367, allocations: 168.7 kB / 0.5444 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.367, allocations: 0 / 0.5444 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/0.3673, allocations: 47.94 kB / 0.5444 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.3674, allocations: 19.92 kB / 0.5444 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3675, allocations: 7.984 kB / 0.5444 GB, free: 3.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.3685, allocations: 0.7919 MB / 0.5452 GB, free: 2.414 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3685, allocations: 0 / 0.5452 GB, free: 2.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.3689, allocations: 63.94 kB / 0.5453 GB, free: 2.352 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.002868/0.3718, allocations: 1.354 MB / 0.5466 GB, free: 1.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3728, allocations: 279.5 kB / 0.5469 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3728, allocations: 0 / 0.5469 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005126/0.3734, allocations: 155.8 kB / 0.547 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006795/0.374, allocations: 90.02 kB / 0.5471 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009134/0.3832, allocations: 6.07 MB / 0.553 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.3839, allocations: 0.8894 MB / 0.5539 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.3841, allocations: 87.62 kB / 0.554 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.3844, allocations: 187.4 kB / 0.5542 GB, free: 9.246 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3844, allocations: 0 / 0.5542 GB, free: 9.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.4295, allocations: 11.51 MB / 0.5654 GB, free: 13.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.633/9.062, allocations: 24.31 kB / 0.5654 GB, free: 13.84 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)