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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001615/0.001615, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002159/0.002159, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 7.984 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.2193/0.2193, allocations: 46.93 MB / 361.6 MB, free: 4.289 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.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"}) [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.002214/0.002214, allocations: 80.14 kB / 0.497 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3142, allocations: 66.09 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003645/0.3178, allocations: 1.901 MB / 0.5634 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3192, allocations: 0.7213 MB / 0.5641 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.3192, allocations: 4 kB / 0.5641 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.3197, allocations: 183.4 kB / 0.5643 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.3202, allocations: 171.4 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007967/0.321, allocations: 322.1 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.3213, allocations: 239.4 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3215, allocations: 55.66 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.3217, allocations: 91.67 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.3219, allocations: 159.5 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.096e-05/0.3219, allocations: 12 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3221, allocations: 51.92 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3222, allocations: 115.6 kB / 0.5654 GB, free: 308 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.3223, allocations: 127 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.3228, allocations: 306.5 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3228, allocations: 0 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3228, allocations: 0 / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3228, allocations: 0 / 0.5658 GB, free: 15.88 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.001114/0.3239, allocations: 0.6091 MB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.324, allocations: 12.03 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.541e-05/0.324, allocations: 46.73 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.516e-05/0.3241, allocations: 40.7 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005137/0.3246, allocations: 316.6 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3246, allocations: 8.375 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.3246, allocations: 12.38 kB / 0.5668 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.3251, allocations: 171.8 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3251, allocations: 7.875 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3251, allocations: 4 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3251, allocations: 4 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.3256, allocations: 143.9 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3267, allocations: 0.6206 MB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.3271, allocations: 149.1 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.3273, allocations: 81.77 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.3274, allocations: 3.984 kB / 0.568 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3274, allocations: 42.56 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3274, allocations: 0 / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002682/0.3301, allocations: 0.8045 MB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3302, allocations: 77.11 kB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.3309, allocations: 0.5956 MB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.3309, allocations: 29.7 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.3311, allocations: 204.4 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.697e-05/0.3311, allocations: 67.42 kB / 0.5698 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.057e-05/0.3312, allocations: 37.7 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3314, allocations: 354.8 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.3318, allocations: 136.1 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.3323, allocations: 155.9 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/0.3331, allocations: 305.4 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3331, allocations: 192 / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001038/0.3342, allocations: 377 kB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3342, allocations: 4 kB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3342, allocations: 0 / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3342, allocations: 8 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.3345, allocations: 63.88 kB / 0.5711 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3345, allocations: 0 / 0.5711 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3348, allocations: 39.94 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.3348, allocations: 4 kB / 0.5712 GB, free: 10.15 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.0002001/0.335, allocations: 186.7 kB / 0.5714 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.3351, allocations: 43.7 kB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.3362, allocations: 432.7 kB / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3362, allocations: 0 / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.3362, allocations: 0 / 0.5718 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3362, allocations: 4 kB / 0.5718 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3379, allocations: 0.8752 MB / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3379, allocations: 0 / 0.5727 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.3382, allocations: 75.86 kB / 0.5727 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3382, allocations: 0 / 0.5727 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3383, allocations: 4 kB / 0.5727 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3383, allocations: 0 / 0.5727 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3383, allocations: 0 / 0.5727 GB, free: 8.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3394, allocations: 0.5333 MB / 0.5733 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3395, allocations: 59.69 kB / 0.5733 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.3395, allocations: 4 kB / 0.5733 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.3398, allocations: 35.95 kB / 0.5734 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.3399, allocations: 19.97 kB / 0.5734 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.3399, allocations: 19.86 kB / 0.5734 GB, free: 7.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005065/0.3404, allocations: 443.1 kB / 0.5738 GB, free: 7.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3404, allocations: 0 / 0.5738 GB, free: 7.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.3407, allocations: 59.94 kB / 0.5739 GB, free: 7.309 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.002762/0.3435, allocations: 1.37 MB / 0.5752 GB, free: 6.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009952/0.3445, allocations: 307.6 kB / 0.5755 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3445, allocations: 0 / 0.5755 GB, free: 5.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.345, allocations: 155.8 kB / 0.5757 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.3455, allocations: 53.56 kB / 0.5757 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/0.3523, allocations: 4.329 MB / 0.5799 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.3528, allocations: 0.822 MB / 0.5807 GB, free: 280 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.353, allocations: 78.53 kB / 0.5808 GB, free: 204 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.3532, allocations: 119.3 kB / 0.5809 GB, free: 84 kB / 414.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3532, allocations: 0 / 0.5809 GB, free: 84 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03293/0.3862, allocations: 8.055 MB / 0.5888 GB, free: 8.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.174/9.561, allocations: 0 / 0.5888 GB, free: 8.047 MB / 430.1 MB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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.0009994 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.719194435048848] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.75791876995936 9.744480842 9.418579228 Calling exit ...