Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001272/0.001272, allocations: 118.8 kB / 17.79 MB, free: 5.234 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: 202 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 247 MB, free: 10.42 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.2278/0.2278, allocations: 46.11 MB / 344.4 MB, free: 11.46 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.003892/0.003892, allocations: 75.88 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3342, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003327/0.3376, allocations: 2.02 MB / 0.5326 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.3389, allocations: 0.7986 MB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.339, allocations: 1.906 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.3394, allocations: 183.1 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.3399, allocations: 215.1 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009437/0.3409, allocations: 423.4 kB / 0.5342 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003933/0.3413, allocations: 288.4 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.3415, allocations: 62.81 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3416, allocations: 115.7 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.3419, allocations: 172.7 kB / 0.5348 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.3419, allocations: 16.81 kB / 0.5348 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.342, allocations: 39.72 kB / 0.5348 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.3422, allocations: 165.6 kB / 0.535 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.3424, allocations: 194.2 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.343, allocations: 443 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.343, allocations: 0.875 kB / 0.5356 GB, free: 9.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.259e-06/0.343, allocations: 3.984 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.343, 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.001383/0.3444, allocations: 0.8951 MB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.3445, allocations: 10.16 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.249e-05/0.3445, allocations: 45.08 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3447, allocations: 64.83 kB / 0.5366 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.3453, allocations: 0.5234 MB / 0.5371 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3453, allocations: 8.75 kB / 0.5371 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.3454, allocations: 10.77 kB / 0.5371 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004169/0.3458, allocations: 162.4 kB / 0.5373 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3458, allocations: 1.406 kB / 0.5373 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.3458, allocations: 5.375 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3459, allocations: 2.406 kB / 0.5373 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.3464, allocations: 140.4 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3476, allocations: 0.7403 MB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.348, allocations: 141.7 kB / 0.5383 GB, free: 7.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.3483, allocations: 78.16 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.3484, allocations: 2.062 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3484, allocations: 47.62 kB / 0.5384 GB, free: 7.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3484, allocations: 0 / 0.5384 GB, free: 7.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002831/0.3513, allocations: 0.8282 MB / 0.5392 GB, free: 7.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.3513, allocations: 83.08 kB / 0.5393 GB, free: 6.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.3526, allocations: 1.075 MB / 0.5403 GB, free: 6.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3527, allocations: 30.8 kB / 0.5404 GB, free: 6.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.3529, allocations: 293.5 kB / 0.5406 GB, free: 6.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.353, allocations: 66.5 kB / 0.5407 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.3531, allocations: 33.92 kB / 0.5407 GB, free: 6.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.3532, allocations: 312.2 kB / 0.541 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004618/0.3537, allocations: 114.8 kB / 0.5411 GB, free: 5.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.3542, allocations: 138.4 kB / 0.5413 GB, free: 5.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.3551, allocations: 256.1 kB / 0.5415 GB, free: 5.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3551, allocations: 5.031 kB / 0.5415 GB, free: 5.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001113/0.3563, allocations: 353.6 kB / 0.5419 GB, free: 5.332 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3563, allocations: 5.406 kB / 0.5419 GB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3563, allocations: 9.141 kB / 0.5419 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3563, allocations: 1.281 kB / 0.5419 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.3567, allocations: 64.25 kB / 0.5419 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3567, allocations: 1.219 kB / 0.5419 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.3569, allocations: 37.89 kB / 0.542 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.357, allocations: 16.27 kB / 0.542 GB, free: 5.277 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.0002596/0.3573, allocations: 228.7 kB / 0.5422 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.3574, allocations: 66.91 kB / 0.5423 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.3586, allocations: 398.9 kB / 0.5426 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3586, allocations: 2.344 kB / 0.5426 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3586, allocations: 0 / 0.5426 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3586, allocations: 1.219 kB / 0.5426 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.3604, allocations: 0.96 MB / 0.5436 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3605, allocations: 7.938 kB / 0.5436 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.3608, allocations: 72.61 kB / 0.5437 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3608, allocations: 0 / 0.5437 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3608, allocations: 4 kB / 0.5437 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3608, allocations: 0 / 0.5437 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3608, allocations: 3.938 kB / 0.5437 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.362, allocations: 0.5198 MB / 0.5442 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.3622, allocations: 176.6 kB / 0.5443 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.3623, allocations: 4 kB / 0.5444 GB, free: 3.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.3626, allocations: 43.94 kB / 0.5444 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.3627, allocations: 19.92 kB / 0.5444 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3627, allocations: 4 kB / 0.5444 GB, free: 3.227 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009698/0.3637, allocations: 0.7997 MB / 0.5452 GB, free: 2.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3637, allocations: 0 / 0.5452 GB, free: 2.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003993/0.3641, allocations: 63.94 kB / 0.5453 GB, free: 2.371 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.002838/0.3669, allocations: 1.347 MB / 0.5466 GB, free: 1.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.368, allocations: 275.6 kB / 0.5468 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.368, allocations: 4 kB / 0.5468 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.3685, allocations: 151.8 kB / 0.547 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.3693, allocations: 92.59 kB / 0.5471 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009252/0.3785, allocations: 6.074 MB / 0.553 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005602/0.3791, allocations: 0.8894 MB / 0.5539 GB, free: 9.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.3794, allocations: 87.61 kB / 0.554 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.3797, allocations: 187.4 kB / 0.5541 GB, free: 9.273 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3797, allocations: 8 kB / 0.5541 GB, free: 9.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.4152, allocations: 11.54 MB / 0.5654 GB, free: 13.88 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.129/9.544, allocations: 5.391 kB / 0.5654 GB, free: 13.88 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)