Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001799/0.001799, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002177/0.002177, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2478/0.2478, allocations: 46.96 MB / 361.7 MB, free: 4.035 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+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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.91 kB / 0.4969 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3665, allocations: 66.03 MB / 0.5614 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003618/0.3701, allocations: 1.818 MB / 0.5631 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3719, allocations: 0.9713 MB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.757e-05/0.372, allocations: 0 / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.3723, allocations: 59.73 kB / 0.5641 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.3727, allocations: 131.4 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004499/0.3732, allocations: 159.3 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000335/0.3735, allocations: 207.3 kB / 0.5646 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.3736, allocations: 15.56 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.3738, allocations: 83.73 kB / 0.5647 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.374, allocations: 111.6 kB / 0.5648 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.374, allocations: 16 kB / 0.5648 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3741, allocations: 44 kB / 0.5649 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.3742, allocations: 35.89 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.3743, allocations: 63.64 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.3747, allocations: 195.1 kB / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3747, allocations: 0 / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3747, allocations: 0 / 0.5652 GB, free: 336 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3747, allocations: 0 / 0.5652 GB, free: 336 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.001271/0.376, allocations: 0.5161 MB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.376, allocations: 8.031 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.355e-05/0.376, allocations: 192 / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.3761, allocations: 38.75 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.3761, allocations: 16.84 kB / 0.5657 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.3764, allocations: 175.3 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3765, allocations: 12.11 kB / 0.5659 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.3765, allocations: 15.94 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.377, allocations: 137.5 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3771, allocations: 0 / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.3771, allocations: 4 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3771, allocations: 0 / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.3778, allocations: 163.8 kB / 0.5662 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.3783, allocations: 323.7 kB / 0.5665 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.3791, allocations: 190.3 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/0.3795, allocations: 96.69 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3795, allocations: 4 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.3801, allocations: 159.2 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.3801, allocations: 0 / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003836/0.3839, allocations: 0.8283 MB / 0.5678 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.384, allocations: 55.41 kB / 0.5678 GB, free: 13.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.3843, allocations: 252.1 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.3844, allocations: 33.7 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.3845, allocations: 128.1 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.3845, allocations: 35.84 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.3846, allocations: 37.7 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3848, allocations: 326.8 kB / 0.5686 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007119/0.3855, allocations: 223.2 kB / 0.5688 GB, free: 12.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.3862, allocations: 227.2 kB / 0.569 GB, free: 12.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.3874, allocations: 366.5 kB / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3874, allocations: 0 / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00158/0.389, allocations: 0.5077 MB / 0.5699 GB, free: 11.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/0.3891, allocations: 63.39 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3891, allocations: 0 / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3891, allocations: 3.938 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.3895, allocations: 71.91 kB / 0.57 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.3895, allocations: 4 kB / 0.57 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.3899, allocations: 59.91 kB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.3899, allocations: 7.984 kB / 0.5701 GB, free: 11.02 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.0001615/0.3901, allocations: 137.7 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.3901, allocations: 24.42 kB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.3916, allocations: 406.7 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3916, allocations: 3.938 kB / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3916, allocations: 0 / 0.5706 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3917, allocations: 4 kB / 0.5706 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.3934, allocations: 0.6496 MB / 0.5713 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3934, allocations: 11.88 kB / 0.5713 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.3938, allocations: 67.91 kB / 0.5713 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3938, allocations: 4 kB / 0.5713 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3938, allocations: 7.984 kB / 0.5713 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.3938, allocations: 3.984 kB / 0.5713 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3938, allocations: 0 / 0.5713 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3953, allocations: 486.7 kB / 0.5718 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.3954, allocations: 27.83 kB / 0.5718 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.3954, allocations: 0 / 0.5718 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.3958, allocations: 67.91 kB / 0.5719 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.396, allocations: 43.92 kB / 0.5719 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.396, allocations: 4 kB / 0.5719 GB, free: 9.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.3962, allocations: 193.6 kB / 0.5721 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3962, allocations: 0 / 0.5721 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000335/0.3966, allocations: 47.94 kB / 0.5722 GB, free: 8.777 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.003385/0.4, allocations: 1.345 MB / 0.5735 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.4016, allocations: 0.5095 MB / 0.574 GB, free: 7.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4016, allocations: 7.938 kB / 0.574 GB, free: 7.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007185/0.4024, allocations: 171.8 kB / 0.5742 GB, free: 6.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.4028, allocations: 36.59 kB / 0.5742 GB, free: 6.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006399/0.4092, allocations: 3.056 MB / 0.5772 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.4093, allocations: 111.3 kB / 0.5773 GB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.4094, allocations: 29.34 kB / 0.5773 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4096, allocations: 55.41 kB / 0.5774 GB, free: 3.426 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4096, allocations: 0 / 0.5774 GB, free: 3.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.4392, allocations: 6.251 MB / 0.5835 GB, free: 13.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.07, allocations: 14.7 kB / 0.5835 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.175533236004412] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 12.28838017093949 12.305609505 11.927517158 Calling exit ...