Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001683/0.001683, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002147/0.002147, allocations: 217 kB / 24.53 MB, free: 4.008 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 46.94 MB / 361.6 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 79.88 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3249, allocations: 66.09 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003439/0.3284, allocations: 2.029 MB / 0.5635 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.3298, allocations: 0.8187 MB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.3299, allocations: 4 kB / 0.5643 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004845/0.3304, allocations: 183.4 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.3309, allocations: 207.2 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009045/0.3318, allocations: 423.2 kB / 0.5651 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.3322, allocations: 303.1 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.3323, allocations: 46.73 kB / 0.5654 GB, free: 312 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.3325, allocations: 135.4 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.3327, allocations: 179.3 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.3328, allocations: 12 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.3329, allocations: 43.94 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.3331, allocations: 175.4 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.3332, allocations: 202.4 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.3337, allocations: 433.8 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3337, allocations: 7.938 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3337, allocations: 0 / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.3338, allocations: 3.938 kB / 0.5665 GB, free: 15.13 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.001267/0.335, allocations: 0.8107 MB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3351, allocations: 8.031 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.553e-05/0.3351, allocations: 8.188 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.3351, allocations: 46.67 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3352, allocations: 68.52 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.3359, allocations: 467.1 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3359, allocations: 8.375 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.3359, allocations: 20.31 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.3363, allocations: 167.4 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.3364, allocations: 0 / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3364, allocations: 4 kB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3364, allocations: 4 kB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004717/0.3368, allocations: 127.9 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.3379, allocations: 0.7143 MB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.3383, allocations: 141.1 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.3386, allocations: 70 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.3386, allocations: 7.984 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3386, allocations: 38.44 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.3386, allocations: 4 kB / 0.5692 GB, free: 12.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.002652/0.3413, allocations: 0.8311 MB / 0.57 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.3413, allocations: 81.11 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.3426, allocations: 1.071 MB / 0.5711 GB, free: 10.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3427, allocations: 29.7 kB / 0.5711 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.3429, allocations: 300.3 kB / 0.5714 GB, free: 9.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.343, allocations: 63.47 kB / 0.5715 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.109e-05/0.3431, allocations: 29.72 kB / 0.5715 GB, free: 9.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3432, allocations: 318 kB / 0.5718 GB, free: 9.508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006535/0.3438, allocations: 115.9 kB / 0.5719 GB, free: 9.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.3446, allocations: 133.6 kB / 0.5721 GB, free: 9.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.3459, allocations: 265.5 kB / 0.5723 GB, free: 8.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3459, allocations: 0 / 0.5723 GB, free: 8.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001409/0.3473, allocations: 361 kB / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3473, allocations: 8 kB / 0.5727 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3473, allocations: 0 / 0.5727 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3474, allocations: 4 kB / 0.5727 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003327/0.3477, allocations: 67.88 kB / 0.5727 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3477, allocations: 3.984 kB / 0.5727 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.348, allocations: 35.95 kB / 0.5728 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.348, allocations: 8 kB / 0.5728 GB, free: 8.508 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.000258/0.3482, allocations: 229.8 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.3484, allocations: 71.47 kB / 0.5731 GB, free: 8.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.3495, allocations: 394.7 kB / 0.5734 GB, free: 7.809 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3495, allocations: 4 kB / 0.5734 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3495, allocations: 0 / 0.5734 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3495, allocations: 3.984 kB / 0.5734 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.3513, allocations: 0.9259 MB / 0.5743 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3514, allocations: 7.938 kB / 0.5744 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.3516, allocations: 63.94 kB / 0.5744 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3516, allocations: 4 kB / 0.5744 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3517, allocations: 0 / 0.5744 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3517, allocations: 4 kB / 0.5744 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3517, allocations: 3.984 kB / 0.5744 GB, free: 6.742 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3528, allocations: 0.5278 MB / 0.5749 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.353, allocations: 99.48 kB / 0.575 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.762e-05/0.353, allocations: 3.984 kB / 0.575 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.3533, allocations: 39.94 kB / 0.5751 GB, free: 6.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.3534, allocations: 23.91 kB / 0.5751 GB, free: 6.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3534, allocations: 8.375 kB / 0.5751 GB, free: 6.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009784/0.3544, allocations: 0.7919 MB / 0.5759 GB, free: 5.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3544, allocations: 0 / 0.5759 GB, free: 5.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003899/0.3548, allocations: 64 kB / 0.5759 GB, free: 5.18 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.002977/0.3578, allocations: 1.351 MB / 0.5773 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3588, allocations: 271.6 kB / 0.5775 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3588, allocations: 0 / 0.5775 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.3593, allocations: 143.8 kB / 0.5777 GB, free: 3.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.36, allocations: 89.98 kB / 0.5777 GB, free: 3.445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/0.3694, allocations: 6.07 MB / 0.5837 GB, free: 13.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.37, allocations: 0.8893 MB / 0.5845 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002416/0.3702, allocations: 99.59 kB / 0.5846 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.3706, allocations: 187.4 kB / 0.5848 GB, free: 12.08 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3706, allocations: 0 / 0.5848 GB, free: 12.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/0.4061, allocations: 11.79 MB / 0.5963 GB, free: 360 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 4.062 kB / 0.5963 GB, free: 356 kB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --stepSize=0.0009994 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.679835947987158] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 12.023590932018124 12.052899174 11.713855646 Calling exit ...