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.001493/0.001493, allocations: 116.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3756, allocations: 62.43 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.005023/0.3807, allocations: 2.02 MB / 0.5325 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3825, allocations: 0.7991 MB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.3827, allocations: 1.656 kB / 0.5333 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005192/0.3833, allocations: 182.7 kB / 0.5335 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007105/0.384, allocations: 215.2 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.3851, allocations: 416.8 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.3856, allocations: 295.1 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.3858, allocations: 57.45 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002503/0.3861, allocations: 125 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.3864, allocations: 167.9 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.3864, allocations: 14.41 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3866, allocations: 39.92 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.3868, allocations: 168.6 kB / 0.5349 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.387, allocations: 197.8 kB / 0.5351 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.3876, allocations: 443.3 kB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3877, allocations: 1.031 kB / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3877, allocations: 0 / 0.5355 GB, free: 9.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3877, allocations: 0 / 0.5355 GB, free: 9.676 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.001775/0.3895, allocations: 0.8956 MB / 0.5364 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3895, allocations: 9.75 kB / 0.5364 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.347e-05/0.3896, allocations: 36.94 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.3899, allocations: 65.3 kB / 0.5365 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.3908, allocations: 0.5308 MB / 0.537 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3908, allocations: 8.812 kB / 0.537 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.3908, allocations: 14.83 kB / 0.537 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.3913, allocations: 162.1 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.3913, allocations: 0.9688 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3913, allocations: 1.219 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3913, allocations: 2.188 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005248/0.3919, allocations: 140.8 kB / 0.5373 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.3933, allocations: 0.7447 MB / 0.538 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.3937, allocations: 137.8 kB / 0.5382 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.3939, allocations: 81.59 kB / 0.5383 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.394, allocations: 6.094 kB / 0.5383 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.394, allocations: 43.59 kB / 0.5383 GB, free: 7.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.394, allocations: 1.125 kB / 0.5383 GB, free: 7.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002836/0.3969, allocations: 0.8315 MB / 0.5391 GB, free: 6.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.397, allocations: 78.86 kB / 0.5392 GB, free: 6.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.3985, allocations: 1.076 MB / 0.5402 GB, free: 6.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.3985, allocations: 25.7 kB / 0.5403 GB, free: 6.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.3988, allocations: 298 kB / 0.5405 GB, free: 6.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.3989, allocations: 58.89 kB / 0.5406 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.3989, allocations: 32.83 kB / 0.5406 GB, free: 6.012 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.399, allocations: 311.6 kB / 0.5409 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.3995, allocations: 124 kB / 0.5411 GB, free: 5.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.4, allocations: 133.8 kB / 0.5412 GB, free: 5.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008917/0.4009, allocations: 260 kB / 0.5414 GB, free: 5.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4009, allocations: 5.156 kB / 0.5414 GB, free: 5.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001125/0.402, allocations: 357.6 kB / 0.5418 GB, free: 5.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4021, allocations: 11.59 kB / 0.5418 GB, free: 5.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.4021, allocations: 5.047 kB / 0.5418 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.373e-05/0.4021, allocations: 1.188 kB / 0.5418 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.4025, allocations: 63.98 kB / 0.5418 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.4025, allocations: 1.156 kB / 0.5419 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.4028, allocations: 41.67 kB / 0.5419 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.4028, allocations: 4.406 kB / 0.5419 GB, free: 5.203 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.0002688/0.4031, allocations: 236.7 kB / 0.5421 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.4033, allocations: 67.31 kB / 0.5422 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.4045, allocations: 401.5 kB / 0.5426 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4046, allocations: 2.844 kB / 0.5426 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.4046, allocations: 1.625 kB / 0.5426 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4046, allocations: 0 / 0.5426 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.4066, allocations: 0.9673 MB / 0.5435 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4066, allocations: 3.984 kB / 0.5435 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.4069, allocations: 64.62 kB / 0.5436 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4069, allocations: 0 / 0.5436 GB, free: 3.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.407, allocations: 8 kB / 0.5436 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.407, allocations: 0 / 0.5436 GB, free: 3.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.407, allocations: 3.938 kB / 0.5436 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.4081, allocations: 0.5216 MB / 0.5441 GB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.4084, allocations: 164.6 kB / 0.5443 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.4084, allocations: 12 kB / 0.5443 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.4088, allocations: 31.95 kB / 0.5443 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.4089, allocations: 27.91 kB / 0.5443 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.4089, allocations: 4 kB / 0.5443 GB, free: 3.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009598/0.4099, allocations: 0.7958 MB / 0.5451 GB, free: 2.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.4099, allocations: 0 / 0.5451 GB, free: 2.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00043/0.4103, allocations: 67.88 kB / 0.5452 GB, free: 2.309 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.002393/0.4127, allocations: 1.349 MB / 0.5465 GB, free: 1.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.4138, allocations: 275.6 kB / 0.5468 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4138, allocations: 0 / 0.5468 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005027/0.4143, allocations: 143.8 kB / 0.5469 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.415, allocations: 94.48 kB / 0.547 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/0.4248, allocations: 6.082 MB / 0.5529 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.4253, allocations: 0.8855 MB / 0.5538 GB, free: 9.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.4256, allocations: 87.3 kB / 0.5539 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.4259, allocations: 195.4 kB / 0.5541 GB, free: 9.199 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4259, allocations: 4 kB / 0.5541 GB, free: 9.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.4623, allocations: 11.51 MB / 0.5653 GB, free: 13.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.737/9.199, allocations: 14.11 kB / 0.5653 GB, free: 13.81 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)