Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.00188/0.00188, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002137/0.002137, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.438/1.438, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2303/0.2303, allocations: 46.92 MB / 361.6 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",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.002285/0.002285, allocations: 87.86 kB / 0.497 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3447, allocations: 66.08 MB / 0.5615 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003498/0.3482, allocations: 1.878 MB / 0.5634 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.35, allocations: 1.068 MB / 0.5644 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.641e-05/0.3501, allocations: 4 kB / 0.5644 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.3504, allocations: 59.72 kB / 0.5645 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.3509, allocations: 119.4 kB / 0.5646 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.3514, allocations: 215 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.3518, allocations: 207.3 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3519, allocations: 19.7 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.352, allocations: 79.75 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.3522, allocations: 115.6 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.3522, allocations: 12 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.3523, allocations: 39.98 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.852e-05/0.3524, allocations: 47.83 kB / 0.5653 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.236e-05/0.3525, allocations: 67.59 kB / 0.5653 GB, free: 356 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.3528, allocations: 207.1 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3528, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3528, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.3528, allocations: 3.938 kB / 0.5655 GB, free: 144 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.001355/0.3541, allocations: 0.5134 MB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3542, allocations: 16.03 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.3542, allocations: 34.75 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.3543, allocations: 20.83 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3546, allocations: 175.4 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3546, allocations: 8.312 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3547, allocations: 4.375 kB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.3553, allocations: 152.3 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3553, allocations: 3.938 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3553, allocations: 4 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.3554, allocations: 4 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.3561, allocations: 171.7 kB / 0.5666 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008493/0.3569, allocations: 403.6 kB / 0.567 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007398/0.3576, allocations: 198.3 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.358, allocations: 88.77 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.358, allocations: 0 / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005876/0.3586, allocations: 167.2 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.3586, allocations: 3.938 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003599/0.3622, allocations: 0.844 MB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.3623, allocations: 55.39 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.3626, allocations: 256.9 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.067e-05/0.3627, allocations: 29.7 kB / 0.5686 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3628, allocations: 136.1 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/0.3628, allocations: 35.69 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.3629, allocations: 37.7 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.3631, allocations: 326.8 kB / 0.5691 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.3638, allocations: 175.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.3645, allocations: 175.8 kB / 0.5694 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3657, allocations: 382.2 kB / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3657, allocations: 0 / 0.5698 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001536/0.3673, allocations: 468.5 kB / 0.5702 GB, free: 11.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.228e-05/0.3673, allocations: 67.33 kB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3673, allocations: 0 / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.3673, allocations: 0.5625 kB / 0.5703 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.3678, allocations: 67.91 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.3678, allocations: 0 / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.3682, allocations: 67.91 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.3682, allocations: 7.938 kB / 0.5704 GB, free: 10.87 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.000155/0.3683, allocations: 138.6 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.3684, allocations: 27.73 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.3698, allocations: 427 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3698, allocations: 4.094 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3698, allocations: 7.922 kB / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3698, allocations: 0 / 0.571 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.3716, allocations: 0.7002 MB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3716, allocations: 0 / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.372, allocations: 67.91 kB / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.372, allocations: 0 / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3721, allocations: 7.984 kB / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3721, allocations: 0 / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3721, allocations: 4 kB / 0.5718 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.374, allocations: 0.4904 MB / 0.5723 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.374, allocations: 15.89 kB / 0.5723 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.3741, allocations: 8 kB / 0.5723 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.3745, allocations: 59.91 kB / 0.5723 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.3746, allocations: 55.92 kB / 0.5724 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3746, allocations: 4 kB / 0.5724 GB, free: 8.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.3748, allocations: 188.5 kB / 0.5726 GB, free: 8.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 4 kB / 0.5726 GB, free: 8.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.3751, allocations: 47.95 kB / 0.5726 GB, free: 8.559 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.003247/0.3784, allocations: 1.317 MB / 0.5739 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3799, allocations: 474.3 kB / 0.5744 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3799, allocations: 0 / 0.5744 GB, free: 6.871 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.3806, allocations: 183.8 kB / 0.5745 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.381, allocations: 36.58 kB / 0.5746 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.3871, allocations: 2.894 MB / 0.5774 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3875, allocations: 0.7396 MB / 0.5781 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.3877, allocations: 25.41 kB / 0.5782 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.3878, allocations: 63.41 kB / 0.5782 GB, free: 2.809 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3878, allocations: 0 / 0.5782 GB, free: 2.809 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.4227, allocations: 5.973 MB / 0.584 GB, free: 12.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.672, allocations: 11.3 kB / 0.5841 GB, free: 12.82 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.56749077513814] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 8.817574083805084 8.844889163 8.487071358 Calling exit ...