Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.001344/0.001344, allocations: 122.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.001455/0.001455, allocations: 202 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.452/1.452, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2197/0.2197, allocations: 46.12 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 75.88 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3217, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003229/0.3249, allocations: 1.876 MB / 0.5324 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3261, allocations: 0.7088 MB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.3262, allocations: 5.375 kB / 0.5331 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.3266, allocations: 174.6 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003802/0.327, allocations: 172.5 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.3277, allocations: 327.6 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000289/0.328, allocations: 234.5 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3281, allocations: 65.84 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3283, allocations: 93.34 kB / 0.5342 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.3285, allocations: 150.2 kB / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.3285, allocations: 12.38 kB / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.3286, allocations: 38.23 kB / 0.5344 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3287, allocations: 113 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.3289, allocations: 127.8 kB / 0.5346 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.3292, allocations: 305.5 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3292, allocations: 0 / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3292, allocations: 0 / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.3292, allocations: 0 / 0.5349 GB, free: 10.29 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.001018/0.3303, allocations: 0.6883 MB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3303, allocations: 13.03 kB / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.3304, allocations: 47.17 kB / 0.5356 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.3304, allocations: 42.08 kB / 0.5356 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3309, allocations: 372.2 kB / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3309, allocations: 8.812 kB / 0.536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.3309, allocations: 6.125 kB / 0.536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.3314, allocations: 178.8 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3314, allocations: 1.281 kB / 0.5362 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3314, allocations: 9.078 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3314, allocations: 1.812 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.332, allocations: 142.4 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.333, allocations: 0.6546 MB / 0.537 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.3335, allocations: 159.5 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.3338, allocations: 76.44 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.3338, allocations: 10.55 kB / 0.5372 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3338, allocations: 35.84 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.353e-06/0.3338, allocations: 4.219 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00282/0.3367, allocations: 0.8035 MB / 0.538 GB, free: 7.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3367, allocations: 79.3 kB / 0.5381 GB, free: 7.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.3374, allocations: 0.5974 MB / 0.5387 GB, free: 7.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.3374, allocations: 31.02 kB / 0.5387 GB, free: 7.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3376, allocations: 199.1 kB / 0.5389 GB, free: 7.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.3377, allocations: 62.2 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.3378, allocations: 38.84 kB / 0.539 GB, free: 7.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3379, allocations: 359.9 kB / 0.5393 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.3384, allocations: 128.1 kB / 0.5395 GB, free: 6.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.3389, allocations: 158.7 kB / 0.5396 GB, free: 6.711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009595/0.3399, allocations: 296.3 kB / 0.5399 GB, free: 6.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3399, allocations: 4.688 kB / 0.5399 GB, free: 6.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001111/0.341, allocations: 370 kB / 0.5403 GB, free: 6.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3411, allocations: 4.656 kB / 0.5403 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3411, allocations: 1.062 kB / 0.5403 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3411, allocations: 5.281 kB / 0.5403 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.3414, allocations: 71.81 kB / 0.5403 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3414, allocations: 1.25 kB / 0.5403 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.3417, allocations: 44.92 kB / 0.5404 GB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.3417, allocations: 9.062 kB / 0.5404 GB, free: 6.309 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.0001991/0.3419, allocations: 196.2 kB / 0.5406 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.342, allocations: 42.2 kB / 0.5406 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.3432, allocations: 419.4 kB / 0.541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3432, allocations: 2.875 kB / 0.541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3432, allocations: 0 / 0.541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3433, allocations: 1.469 kB / 0.541 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.345, allocations: 0.9113 MB / 0.5419 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3451, allocations: 1.188 kB / 0.5419 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.3454, allocations: 66.33 kB / 0.542 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3454, allocations: 2.344 kB / 0.542 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3454, allocations: 10.19 kB / 0.542 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3454, allocations: 1.156 kB / 0.542 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3454, allocations: 3.938 kB / 0.542 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3466, allocations: 0.5336 MB / 0.5425 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.3467, allocations: 126.1 kB / 0.5426 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.3468, allocations: 9.391 kB / 0.5426 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.3471, allocations: 36.14 kB / 0.5427 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.3472, allocations: 23.88 kB / 0.5427 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3472, allocations: 5.094 kB / 0.5427 GB, free: 4.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005014/0.3477, allocations: 449.2 kB / 0.5431 GB, free: 4.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3477, allocations: 4 kB / 0.5431 GB, free: 4.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.3481, allocations: 52.41 kB / 0.5432 GB, free: 4.418 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.002846/0.3509, allocations: 1.373 MB / 0.5445 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.352, allocations: 318.4 kB / 0.5448 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.352, allocations: 4 kB / 0.5448 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.3526, allocations: 163.7 kB / 0.545 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.3531, allocations: 59.94 kB / 0.5451 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.3599, allocations: 4.311 MB / 0.5493 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.3605, allocations: 0.8182 MB / 0.5501 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.3607, allocations: 74.55 kB / 0.5501 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3609, allocations: 119.4 kB / 0.5502 GB, free: 13.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3609, allocations: 0 / 0.5502 GB, free: 13.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.3937, allocations: 7.924 MB / 0.558 GB, free: 5.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/8.904, allocations: 5.766 kB / 0.558 GB, free: 5.492 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)