Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_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.001142/0.001142, allocations: 113.6 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.001301/0.001301, allocations: 203.9 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.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 75.88 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3621, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003438/0.3656, allocations: 1.878 MB / 0.5324 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3669, allocations: 0.7092 MB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.367, allocations: 5.812 kB / 0.5331 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.3675, allocations: 169.5 kB / 0.5332 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.368, allocations: 175.5 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007806/0.3688, allocations: 330 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.3692, allocations: 234.5 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.3694, allocations: 66.5 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3695, allocations: 90.31 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.3698, allocations: 144.4 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3698, allocations: 12.53 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.3699, allocations: 46.22 kB / 0.5343 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.3701, allocations: 113.9 kB / 0.5344 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.3703, allocations: 127.2 kB / 0.5345 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004366/0.3707, allocations: 310 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3707, allocations: 0 / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3707, allocations: 0 / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3707, allocations: 0 / 0.5348 GB, free: 10.3 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.001146/0.3719, allocations: 0.6838 MB / 0.5355 GB, free: 9.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3719, allocations: 17.28 kB / 0.5355 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.392e-05/0.372, allocations: 42.64 kB / 0.5355 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.3721, allocations: 38.58 kB / 0.5356 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.3726, allocations: 381 kB / 0.5359 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3726, allocations: 8.469 kB / 0.5359 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.3727, allocations: 11.31 kB / 0.5359 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.3731, allocations: 169.3 kB / 0.5361 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3732, allocations: 4.922 kB / 0.5361 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3732, allocations: 5.25 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3732, allocations: 1.969 kB / 0.5361 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.3737, allocations: 150.3 kB / 0.5363 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.3749, allocations: 0.6531 MB / 0.5369 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.3753, allocations: 152.4 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.3756, allocations: 81.12 kB / 0.5371 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.3756, allocations: 5.734 kB / 0.5371 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3757, allocations: 32.06 kB / 0.5371 GB, free: 8.355 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.3757, allocations: 4 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.002967/0.3787, allocations: 0.8018 MB / 0.5379 GB, free: 7.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.3787, allocations: 86.23 kB / 0.538 GB, free: 7.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.3795, allocations: 0.5978 MB / 0.5386 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.3796, allocations: 30.67 kB / 0.5386 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.3797, allocations: 202.5 kB / 0.5388 GB, free: 7.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.3798, allocations: 62.92 kB / 0.5389 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.3799, allocations: 34.59 kB / 0.5389 GB, free: 7.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3801, allocations: 360.3 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.3805, allocations: 128.7 kB / 0.5394 GB, free: 6.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.381, allocations: 165.7 kB / 0.5395 GB, free: 6.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.382, allocations: 298.6 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.382, allocations: 4.031 kB / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001129/0.3831, allocations: 370.3 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3832, allocations: 4.812 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3832, allocations: 1.219 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3832, allocations: 5.062 kB / 0.5402 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.3836, allocations: 68.45 kB / 0.5403 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3836, allocations: 1.031 kB / 0.5403 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.3838, allocations: 37.42 kB / 0.5403 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3839, allocations: 11.56 kB / 0.5403 GB, free: 6.32 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.0002095/0.3841, allocations: 197.6 kB / 0.5405 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.3842, allocations: 37.61 kB / 0.5405 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3855, allocations: 420.2 kB / 0.5409 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.3855, allocations: 6.297 kB / 0.5409 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3855, allocations: 0 / 0.5409 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3855, allocations: 1.375 kB / 0.5409 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.3874, allocations: 0.9107 MB / 0.5418 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.3874, allocations: 1.094 kB / 0.5418 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.3877, allocations: 75.27 kB / 0.5419 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3877, allocations: 1.406 kB / 0.5419 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3877, allocations: 2.688 kB / 0.5419 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.3878, allocations: 5.062 kB / 0.5419 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3878, allocations: 3.938 kB / 0.5419 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3889, allocations: 0.5303 MB / 0.5424 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.3891, allocations: 129.2 kB / 0.5426 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.028e-05/0.3891, allocations: 9.062 kB / 0.5426 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3894, allocations: 37.17 kB / 0.5426 GB, free: 4.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.3895, allocations: 28.41 kB / 0.5426 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3895, allocations: 5.156 kB / 0.5426 GB, free: 4.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004931/0.39, allocations: 449.2 kB / 0.5431 GB, free: 4.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3901, allocations: 4 kB / 0.5431 GB, free: 4.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003757/0.3904, allocations: 50.88 kB / 0.5431 GB, free: 4.422 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.00229/0.3927, allocations: 1.37 MB / 0.5444 GB, free: 3.238 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.3938, allocations: 311.6 kB / 0.5447 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3938, allocations: 4 kB / 0.5447 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.3944, allocations: 163.8 kB / 0.5449 GB, free: 2.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000615/0.395, allocations: 55.7 kB / 0.545 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006736/0.4017, allocations: 4.325 MB / 0.5492 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.4022, allocations: 0.8143 MB / 0.55 GB, free: 13.46 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.4024, allocations: 78.48 kB / 0.5501 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.4026, allocations: 119.4 kB / 0.5502 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4026, allocations: 0 / 0.5502 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.4333, allocations: 7.905 MB / 0.5579 GB, free: 5.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.523, allocations: 8.156 kB / 0.5579 GB, free: 5.488 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)