Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001231/0.001231, 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.001331/0.001331, allocations: 216.5 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.372/1.372, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2161/0.2161, allocations: 46.92 MB / 361.6 MB, free: 4.195 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002435/0.002435, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2877, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003294/0.291, allocations: 1.865 MB / 0.5633 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.2926, allocations: 1.041 MB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.2926, allocations: 0 / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.2929, allocations: 63.72 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2932, allocations: 127.4 kB / 0.5645 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.2936, allocations: 158.8 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.2939, allocations: 203.3 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.294, allocations: 19.56 kB / 0.5649 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.2941, allocations: 79.75 kB / 0.565 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.2943, allocations: 107.6 kB / 0.5651 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.2943, allocations: 16 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.2944, allocations: 47.98 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.577e-05/0.2945, allocations: 47.83 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.2946, allocations: 63.59 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.2948, allocations: 195.1 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2948, allocations: 0 / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2948, allocations: 0 / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2948, allocations: 0 / 0.5654 GB, free: 288 kB / 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.00108/0.2959, allocations: 0.5161 MB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.296, allocations: 8.031 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.78e-05/0.296, allocations: 4.125 kB / 0.566 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.296, allocations: 38.75 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/0.2961, allocations: 16.84 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.2963, allocations: 175.3 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2963, allocations: 12.36 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.2964, allocations: 12.31 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.2969, allocations: 145.5 kB / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2969, allocations: 0 / 0.5663 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.2969, allocations: 4 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2969, allocations: 0 / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.2976, allocations: 163.8 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.2981, allocations: 343.7 kB / 0.5668 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.2989, allocations: 190.3 kB / 0.567 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.2993, allocations: 92.75 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2993, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005865/0.2999, allocations: 167.2 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.2999, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00369/0.3036, allocations: 0.8167 MB / 0.5681 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.414e-05/0.3036, allocations: 63.39 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3039, allocations: 260.9 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.304, allocations: 37.62 kB / 0.5684 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.304, allocations: 124.1 kB / 0.5685 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.3041, allocations: 39.69 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.3042, allocations: 33.7 kB / 0.5686 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3043, allocations: 330.8 kB / 0.5689 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007339/0.3051, allocations: 167.8 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007186/0.3058, allocations: 174.1 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3071, allocations: 359.8 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3071, allocations: 0 / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001571/0.3087, allocations: 466.7 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.225e-05/0.3087, allocations: 59.41 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3087, allocations: 4 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3088, allocations: 0 / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.3092, allocations: 71.89 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3092, allocations: 3.938 kB / 0.5701 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.3096, allocations: 67.91 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3096, allocations: 4 kB / 0.5702 GB, free: 11.14 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.0001851/0.3098, allocations: 139.1 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3098, allocations: 27.86 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3113, allocations: 401.7 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.3114, allocations: 4 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3114, allocations: 3.938 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3114, allocations: 0 / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.3131, allocations: 0.6807 MB / 0.5714 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.3131, allocations: 0 / 0.5714 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003747/0.3135, allocations: 67.91 kB / 0.5715 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3135, allocations: 7.938 kB / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3135, allocations: 4.562 kB / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3135, allocations: 0 / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3135, allocations: 0 / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.315, allocations: 483 kB / 0.572 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.3151, allocations: 23.89 kB / 0.572 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.3151, allocations: 7.938 kB / 0.572 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.3155, allocations: 71.78 kB / 0.5721 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3156, allocations: 47.92 kB / 0.5721 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3156, allocations: 0 / 0.5721 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.3158, allocations: 193.8 kB / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3158, allocations: 0 / 0.5723 GB, free: 8.926 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.3161, allocations: 43.94 kB / 0.5723 GB, free: 8.883 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.003203/0.3193, allocations: 1.31 MB / 0.5736 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.3209, allocations: 466.3 kB / 0.5741 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3209, allocations: 0 / 0.5741 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.3217, allocations: 171.8 kB / 0.5742 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3221, allocations: 35.39 kB / 0.5743 GB, free: 7.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.3283, allocations: 2.837 MB / 0.577 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.3287, allocations: 0.7241 MB / 0.5777 GB, free: 3.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.3288, allocations: 25.36 kB / 0.5778 GB, free: 3.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3289, allocations: 55.41 kB / 0.5778 GB, free: 3.246 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3289, allocations: 0 / 0.5778 GB, free: 3.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.358, allocations: 6.01 MB / 0.5837 GB, free: 13.28 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.17, allocations: 10.09 kB / 0.5837 GB, free: 13.27 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.958514599944465] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 11.391333403997123 11.41030147 11.110813448 Calling exit ...