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.001285/0.001285, allocations: 109.2 kB / 20.42 MB, free: 1.684 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.001376/0.001376, allocations: 216.9 kB / 23.72 MB, free: 5.055 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.414/1.414, allocations: 230.2 MB / 257.1 MB, free: 8.449 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.2283/0.2283, allocations: 46.89 MB / 360.3 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 179] 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.002366/0.002366, allocations: 79.86 kB / 0.4956 GB, free: 8.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3206, allocations: 65.98 MB / 0.56 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00288/0.3235, allocations: 2.032 MB / 0.562 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.3246, allocations: 0.8262 MB / 0.5628 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.3247, allocations: 3.188 kB / 0.5628 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.3251, allocations: 178.9 kB / 0.5629 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.3255, allocations: 205 kB / 0.5631 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.3262, allocations: 422.6 kB / 0.5635 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.3264, allocations: 293.3 kB / 0.5638 GB, free: 31.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3266, allocations: 48.91 kB / 0.5639 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3267, allocations: 126.3 kB / 0.564 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.3268, allocations: 179.8 kB / 0.5642 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.3268, allocations: 13.41 kB / 0.5642 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.842e-05/0.3269, allocations: 45.09 kB / 0.5642 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.327, allocations: 171.2 kB / 0.5644 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3271, allocations: 195.2 kB / 0.5646 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003687/0.3275, allocations: 448.1 kB / 0.565 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3275, allocations: 0.875 kB / 0.565 GB, free: 31.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3275, allocations: 2.906 kB / 0.565 GB, free: 31.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3275, allocations: 2.625 kB / 0.565 GB, free: 31.04 MB / 446.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.001035/0.3286, allocations: 0.8817 MB / 0.5659 GB, free: 30.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3286, allocations: 9.688 kB / 0.5659 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.201e-05/0.3286, allocations: 40.62 kB / 0.5659 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.3287, allocations: 70.55 kB / 0.566 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.3292, allocations: 0.5328 MB / 0.5665 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3293, allocations: 7.438 kB / 0.5665 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.3293, allocations: 10.41 kB / 0.5665 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.3297, allocations: 159 kB / 0.5667 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3297, allocations: 3.938 kB / 0.5667 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3297, allocations: 11.91 kB / 0.5667 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3297, allocations: 0 / 0.5667 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.3301, allocations: 132.2 kB / 0.5668 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000907/0.3311, allocations: 0.7516 MB / 0.5675 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.3314, allocations: 134.9 kB / 0.5677 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.3316, allocations: 72.03 kB / 0.5677 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3316, allocations: 10.94 kB / 0.5677 GB, free: 29.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.3317, allocations: 33.69 kB / 0.5678 GB, free: 29.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.3317, allocations: 0 / 0.5678 GB, free: 29.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.002391/0.334, allocations: 0.8324 MB / 0.5686 GB, free: 28.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3341, allocations: 84.67 kB / 0.5687 GB, free: 28.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3352, allocations: 1.075 MB / 0.5697 GB, free: 28.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3352, allocations: 31.08 kB / 0.5698 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3354, allocations: 296.3 kB / 0.57 GB, free: 28.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3354, allocations: 61.8 kB / 0.5701 GB, free: 28.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/0.3355, allocations: 33.33 kB / 0.5701 GB, free: 28.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.768e-05/0.3355, allocations: 314.6 kB / 0.5704 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.3359, allocations: 117 kB / 0.5705 GB, free: 27.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.3364, allocations: 136.6 kB / 0.5707 GB, free: 27.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.3372, allocations: 261.2 kB / 0.5709 GB, free: 27.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3372, allocations: 1.219 kB / 0.5709 GB, free: 27.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001017/0.3382, allocations: 361.4 kB / 0.5713 GB, free: 27.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3382, allocations: 5.5 kB / 0.5713 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3382, allocations: 0 / 0.5713 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.3383, allocations: 1.984 kB / 0.5713 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.3386, allocations: 65.25 kB / 0.5713 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3386, allocations: 1.375 kB / 0.5713 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.3389, allocations: 39.78 kB / 0.5714 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3389, allocations: 8.922 kB / 0.5714 GB, free: 27.48 MB / 446.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.0002128/0.3391, allocations: 227.7 kB / 0.5716 GB, free: 27.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.3392, allocations: 75.38 kB / 0.5717 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.3403, allocations: 395.8 kB / 0.572 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3403, allocations: 2.688 kB / 0.5721 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3403, allocations: 5.672 kB / 0.5721 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3403, allocations: 1.078 kB / 0.5721 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.342, allocations: 0.9565 MB / 0.573 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.342, allocations: 0 / 0.573 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.3422, allocations: 65.23 kB / 0.5731 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3423, allocations: 1.844 kB / 0.5731 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3423, allocations: 6.781 kB / 0.5731 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3423, allocations: 4.75 kB / 0.5731 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3423, allocations: 1.531 kB / 0.5731 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3433, allocations: 0.5187 MB / 0.5736 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.3435, allocations: 169.2 kB / 0.5737 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.3435, allocations: 2.031 kB / 0.5737 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.3438, allocations: 43.03 kB / 0.5738 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.3439, allocations: 22.94 kB / 0.5738 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.3439, allocations: 14.16 kB / 0.5738 GB, free: 26.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007988/0.3447, allocations: 0.7874 MB / 0.5746 GB, free: 25.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3447, allocations: 1.375 kB / 0.5746 GB, free: 25.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003724/0.3451, allocations: 66.95 kB / 0.5746 GB, free: 25.88 MB / 446.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.002444/0.3475, allocations: 1.368 MB / 0.576 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009585/0.3485, allocations: 265.2 kB / 0.5762 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3485, allocations: 1 kB / 0.5762 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.3489, allocations: 139 kB / 0.5764 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006697/0.3496, allocations: 97.33 kB / 0.5765 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/0.3581, allocations: 6.07 MB / 0.5824 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.3585, allocations: 0.8863 MB / 0.5833 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.3588, allocations: 95.31 kB / 0.5833 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.3591, allocations: 195.7 kB / 0.5835 GB, free: 21.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3591, allocations: 0 / 0.5835 GB, free: 21.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.397, allocations: 11.57 MB / 0.5948 GB, free: 17.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.148/9.545, allocations: 13.41 kB / 0.5948 GB, free: 17.88 MB / 446.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 --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.002 --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.333539030980319] Failed to read output from testmodel.py, exit status != 0: 9.677746181376278 9.688329168 9.358521797 Calling exit ...