Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 213.1 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 64.14 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3275, allocations: 65.48 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003448/0.331, allocations: 1.877 MB / 0.5589 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3328, allocations: 1.037 MB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.3328, allocations: 3.938 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.3331, allocations: 63.67 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.3335, allocations: 127.4 kB / 0.5601 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.3339, allocations: 155.6 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.3342, allocations: 199.4 kB / 0.5604 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.3343, allocations: 17.55 kB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3345, allocations: 87.67 kB / 0.5605 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.3346, allocations: 107.6 kB / 0.5606 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.3347, allocations: 12 kB / 0.5606 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3348, allocations: 47.98 kB / 0.5607 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.3349, allocations: 39.84 kB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.3349, allocations: 75.52 kB / 0.5608 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.3352, allocations: 193.2 kB / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3352, allocations: 0 / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3352, allocations: 0 / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3352, allocations: 0 / 0.561 GB, free: 3.738 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001146/0.3364, allocations: 0.5122 MB / 0.5615 GB, free: 3.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3364, allocations: 8.031 kB / 0.5615 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.3365, allocations: 38.69 kB / 0.5615 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.3365, allocations: 20.84 kB / 0.5615 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3368, allocations: 175.3 kB / 0.5617 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3368, allocations: 4.375 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.3369, allocations: 19.88 kB / 0.5617 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005034/0.3374, allocations: 133.5 kB / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3374, allocations: 0 / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3374, allocations: 11.98 kB / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3374, allocations: 0 / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.3381, allocations: 163.8 kB / 0.562 GB, free: 2.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.3386, allocations: 343.6 kB / 0.5623 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.3394, allocations: 190.4 kB / 0.5625 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.3398, allocations: 88.77 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.3398, allocations: 4 kB / 0.5626 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/0.3404, allocations: 167.2 kB / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.3404, allocations: 0 / 0.5628 GB, free: 1.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003599/0.344, allocations: 0.8205 MB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.344, allocations: 63.33 kB / 0.5636 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.3444, allocations: 252.1 kB / 0.5639 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.3444, allocations: 37.7 kB / 0.5639 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3445, allocations: 124.1 kB / 0.564 GB, free: 420 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.3446, allocations: 43.83 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.3447, allocations: 33.7 kB / 0.5641 GB, free: 336 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3448, allocations: 330.8 kB / 0.5644 GB, free: 16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000694/0.3455, allocations: 163.9 kB / 0.5646 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007124/0.3463, allocations: 175.7 kB / 0.5647 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.3475, allocations: 362.6 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3475, allocations: 0 / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001593/0.3491, allocations: 464.5 kB / 0.5655 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.946e-05/0.3492, allocations: 63.39 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3492, allocations: 4 kB / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3492, allocations: 0 / 0.5656 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.3497, allocations: 79.78 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.3497, allocations: 4 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.3501, allocations: 63.91 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.3501, allocations: 4 kB / 0.5657 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001726/0.3503, allocations: 133.8 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.3503, allocations: 27.86 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.3518, allocations: 414.5 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3518, allocations: 3.938 kB / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3518, allocations: 0 / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3518, allocations: 0 / 0.5663 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.3537, allocations: 0.673 MB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3537, allocations: 3.938 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.3541, allocations: 71.84 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3541, allocations: 0 / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3541, allocations: 7.984 kB / 0.567 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.3541, allocations: 4 kB / 0.567 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3541, allocations: 0 / 0.567 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.3556, allocations: 475 kB / 0.5675 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.3556, allocations: 24.39 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.3556, allocations: 8 kB / 0.5675 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.356, allocations: 59.89 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.3562, allocations: 47.94 kB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.3563, allocations: 11.92 kB / 0.5676 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.3565, allocations: 189.6 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3565, allocations: 3.938 kB / 0.5678 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.3568, allocations: 47.94 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003317/0.3601, allocations: 1.305 MB / 0.5691 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.3617, allocations: 470.1 kB / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3617, allocations: 0 / 0.5696 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007004/0.3624, allocations: 187.7 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.3628, allocations: 37.86 kB / 0.5698 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.3689, allocations: 2.828 MB / 0.5726 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3693, allocations: 0.728 MB / 0.5733 GB, free: 6.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.3694, allocations: 21.41 kB / 0.5733 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.3696, allocations: 55.42 kB / 0.5734 GB, free: 6.719 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.3696, allocations: 0 / 0.5734 GB, free: 6.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03362/0.4032, allocations: 5.97 MB / 0.5792 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.79, allocations: 6.469 kB / 0.5792 GB, free: 0.8125 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.568404796067625] Failed to read output from testmodel.py, exit status != 0: 11.94626517011784 11.96322602 11.624707761 Calling exit ...