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.001247/0.001247, allocations: 110.5 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.001393/0.001393, allocations: 213.2 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.4/1.4, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.2217/0.2217, allocations: 46.94 MB / 361.6 MB, free: 4.172 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.002329/0.002329, allocations: 79.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2961, allocations: 66.09 MB / 0.5615 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004549/0.3007, allocations: 2.029 MB / 0.5635 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.3026, allocations: 0.8187 MB / 0.5643 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3027, allocations: 4 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.3033, allocations: 179.4 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000629/0.3039, allocations: 219.1 kB / 0.5647 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3053, allocations: 413.6 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005911/0.3059, allocations: 307 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.3061, allocations: 46.88 kB / 0.5654 GB, free: 284 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.3063, allocations: 127.5 kB / 0.5655 GB, free: 156 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003368/0.3067, allocations: 191.2 kB / 0.5657 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.3067, allocations: 12 kB / 0.5657 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3068, allocations: 43.98 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.3071, allocations: 171.5 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.3073, allocations: 190.4 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007506/0.3081, allocations: 445.8 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3081, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3081, allocations: 0 / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3081, allocations: 4 kB / 0.5666 GB, free: 15.11 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.001696/0.3098, allocations: 0.8184 MB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.3098, allocations: 12.03 kB / 0.5674 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.354e-05/0.3099, allocations: 38.73 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.31, allocations: 64.52 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.311, allocations: 479 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3111, allocations: 12.36 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.3111, allocations: 16.33 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.3117, allocations: 147.9 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.3117, allocations: 7.938 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.3117, allocations: 0 / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3117, allocations: 8 kB / 0.5681 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007293/0.3125, allocations: 139.8 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.3139, allocations: 0.7104 MB / 0.5689 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.3145, allocations: 137.1 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.3149, allocations: 77.77 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.3149, allocations: 8.219 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.315, allocations: 34.56 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.315, allocations: 3.938 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.003902/0.3189, allocations: 0.8268 MB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.319, allocations: 85.05 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.321, allocations: 1.075 MB / 0.5711 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.321, allocations: 25.7 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.3213, allocations: 292.3 kB / 0.5714 GB, free: 9.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.014e-05/0.3214, allocations: 67.47 kB / 0.5715 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.3215, allocations: 33.72 kB / 0.5715 GB, free: 9.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3217, allocations: 314 kB / 0.5718 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000656/0.3224, allocations: 119.9 kB / 0.5719 GB, free: 9.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007461/0.3231, allocations: 133.6 kB / 0.5721 GB, free: 9.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.3243, allocations: 257.4 kB / 0.5723 GB, free: 8.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3243, allocations: 4 kB / 0.5723 GB, free: 8.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001475/0.3258, allocations: 360.9 kB / 0.5726 GB, free: 8.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3258, allocations: 4 kB / 0.5727 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.3258, allocations: 0 / 0.5727 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3259, allocations: 7.984 kB / 0.5727 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.3263, allocations: 63.92 kB / 0.5727 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.3264, allocations: 192 / 0.5727 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.3267, allocations: 43.95 kB / 0.5728 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.3268, allocations: 11.88 kB / 0.5728 GB, free: 8.488 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.0003875/0.3272, allocations: 222.6 kB / 0.573 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.3274, allocations: 71.47 kB / 0.5731 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.329, allocations: 398.9 kB / 0.5734 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.329, allocations: 7.984 kB / 0.5734 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.329, allocations: 0.75 kB / 0.5734 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.329, allocations: 4 kB / 0.5734 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.331, allocations: 0.922 MB / 0.5743 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.331, allocations: 0 / 0.5743 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.3313, allocations: 71.81 kB / 0.5744 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3313, allocations: 0 / 0.5744 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3313, allocations: 8 kB / 0.5744 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.3313, allocations: 3.984 kB / 0.5744 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/0.3313, allocations: 8 kB / 0.5744 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3324, allocations: 0.5236 MB / 0.5749 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.3326, allocations: 83.55 kB / 0.575 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.3326, allocations: 11.94 kB / 0.575 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.3329, allocations: 39.94 kB / 0.5751 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.333, allocations: 23.97 kB / 0.5751 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.333, allocations: 7.938 kB / 0.5751 GB, free: 6.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.334, allocations: 0.7919 MB / 0.5759 GB, free: 5.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.334, allocations: 0 / 0.5759 GB, free: 5.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005669/0.3346, allocations: 64 kB / 0.5759 GB, free: 5.168 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.003661/0.3383, allocations: 1.364 MB / 0.5773 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3395, allocations: 259.7 kB / 0.5775 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3395, allocations: 3.938 kB / 0.5775 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006211/0.3402, allocations: 139.8 kB / 0.5777 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.3412, allocations: 94.06 kB / 0.5777 GB, free: 3.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.3551, allocations: 6.07 MB / 0.5837 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/0.356, allocations: 0.8855 MB / 0.5845 GB, free: 12.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000322/0.3563, allocations: 91.61 kB / 0.5846 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.3567, allocations: 187.4 kB / 0.5848 GB, free: 12.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3567, allocations: 0 / 0.5848 GB, free: 12.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05196/0.4086, allocations: 11.67 MB / 0.5962 GB, free: 436 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.978/9.387, allocations: 8.047 kB / 0.5962 GB, free: 428 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.176077879033983] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 9.533544384408742 9.548336103 9.237138283 Calling exit ...