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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 108.6 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 215.1 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.2 MB / 256.2 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.228/0.228, allocations: 46.89 MB / 359.4 MB, free: 4.867 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002273/0.002273, allocations: 75.88 kB / 0.4942 GB, free: 8.953 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3584, allocations: 65.98 MB / 0.5586 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003974/0.3623, allocations: 2.035 MB / 0.5606 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3639, allocations: 0.8148 MB / 0.5614 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.364, allocations: 4 kB / 0.5614 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.3645, allocations: 175.4 kB / 0.5615 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004868/0.365, allocations: 219.1 kB / 0.5617 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.3659, allocations: 416.9 kB / 0.5621 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004378/0.3664, allocations: 303.2 kB / 0.5624 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3665, allocations: 54.52 kB / 0.5625 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.3667, allocations: 115.5 kB / 0.5626 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.3669, allocations: 183.2 kB / 0.5628 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.367, allocations: 12 kB / 0.5628 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.3671, allocations: 47.97 kB / 0.5628 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.3673, allocations: 175.4 kB / 0.563 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.3675, allocations: 182.5 kB / 0.5632 GB, free: 416 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005559/0.368, allocations: 453.7 kB / 0.5636 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3681, allocations: 0 / 0.5636 GB, free: 15.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3681, allocations: 0 / 0.5636 GB, free: 15.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3681, allocations: 0 / 0.5636 GB, free: 15.96 MB / 414.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.001389/0.3695, allocations: 0.8898 MB / 0.5645 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.3695, allocations: 16.02 kB / 0.5645 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.669e-05/0.3696, allocations: 38.75 kB / 0.5645 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.3697, allocations: 64.52 kB / 0.5646 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006803/0.3703, allocations: 0.5282 MB / 0.5651 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3704, allocations: 12.31 kB / 0.5651 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3704, allocations: 12.33 kB / 0.5651 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.3708, allocations: 151.1 kB / 0.5653 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3708, allocations: 3.938 kB / 0.5653 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3708, allocations: 11.98 kB / 0.5653 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3708, allocations: 7.938 kB / 0.5653 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.3713, allocations: 135.8 kB / 0.5654 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.3725, allocations: 0.7464 MB / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.3728, allocations: 129.1 kB / 0.5663 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.3731, allocations: 81.78 kB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3731, allocations: 3.984 kB / 0.5664 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3732, allocations: 38.56 kB / 0.5664 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.3732, allocations: 0 / 0.5664 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002721/0.3759, allocations: 0.8268 MB / 0.5672 GB, free: 12.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.732e-05/0.376, allocations: 89.05 kB / 0.5673 GB, free: 11.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3772, allocations: 1.071 MB / 0.5683 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3773, allocations: 25.7 kB / 0.5684 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.3775, allocations: 292.3 kB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.3776, allocations: 71.45 kB / 0.5687 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.584e-05/0.3777, allocations: 29.72 kB / 0.5687 GB, free: 10.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3779, allocations: 318 kB / 0.569 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.3783, allocations: 115.9 kB / 0.5691 GB, free: 10.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.3788, allocations: 144.1 kB / 0.5693 GB, free: 9.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00087/0.3796, allocations: 253.4 kB / 0.5695 GB, free: 9.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3796, allocations: 224 / 0.5695 GB, free: 9.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001115/0.3808, allocations: 364.9 kB / 0.5699 GB, free: 9.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3808, allocations: 7.938 kB / 0.5699 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3808, allocations: 0.75 kB / 0.5699 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.3808, allocations: 4 kB / 0.5699 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.3812, allocations: 63.94 kB / 0.5699 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.3812, allocations: 3.984 kB / 0.5699 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.3814, allocations: 39.89 kB / 0.57 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3815, allocations: 8 kB / 0.57 GB, free: 9.133 MB / 414.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.0002951/0.3818, allocations: 221.8 kB / 0.5702 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3819, allocations: 75.47 kB / 0.5703 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.3831, allocations: 394.9 kB / 0.5707 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.3831, allocations: 8 kB / 0.5707 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3831, allocations: 0 / 0.5707 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.3831, allocations: 3.984 kB / 0.5707 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.385, allocations: 0.958 MB / 0.5716 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.385, allocations: 0 / 0.5716 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.3853, allocations: 67.86 kB / 0.5717 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3853, allocations: 0 / 0.5717 GB, free: 7.344 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3853, allocations: 12 kB / 0.5717 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3853, allocations: 0 / 0.5717 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3853, allocations: 0 / 0.5717 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3864, allocations: 0.5215 MB / 0.5722 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.3866, allocations: 168.6 kB / 0.5723 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.3867, allocations: 8 kB / 0.5724 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.387, allocations: 35.95 kB / 0.5724 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3871, allocations: 23.97 kB / 0.5724 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3871, allocations: 8.219 kB / 0.5724 GB, free: 6.535 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001035/0.3881, allocations: 0.788 MB / 0.5732 GB, free: 5.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3881, allocations: 0 / 0.5732 GB, free: 5.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.3885, allocations: 75.8 kB / 0.5733 GB, free: 5.68 MB / 414.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.002912/0.3914, allocations: 1.37 MB / 0.5746 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009946/0.3924, allocations: 263.7 kB / 0.5748 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3924, allocations: 4 kB / 0.5749 GB, free: 4.172 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.3929, allocations: 139.8 kB / 0.575 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007391/0.3937, allocations: 89.69 kB / 0.5751 GB, free: 3.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009296/0.403, allocations: 6.07 MB / 0.581 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.4035, allocations: 0.8855 MB / 0.5819 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.4037, allocations: 91.98 kB / 0.582 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.404, allocations: 187.4 kB / 0.5821 GB, free: 12.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.404, allocations: 0 / 0.5821 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0376/0.4416, allocations: 11.56 MB / 0.5934 GB, free: 1.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.083/9.525, allocations: 7.562 kB / 0.5934 GB, free: 1.055 MB / 430.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.245296086010057] Failed to read output from testmodel.py, exit status != 0: 9.654906578012742 9.679119459 9.306566589000001 Calling exit ...