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.001914/0.001914, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002273/0.002273, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2329/0.2329, allocations: 46.94 MB / 361.7 MB, free: 4.293 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+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.002461/0.002461, allocations: 63.84 kB / 0.497 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3452, allocations: 66.03 MB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003509/0.3487, allocations: 1.874 MB / 0.5633 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3506, allocations: 1.037 MB / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.3507, allocations: 0 / 0.5643 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.3509, allocations: 75.59 kB / 0.5644 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.3513, allocations: 111.5 kB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.3517, allocations: 171.4 kB / 0.5646 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.352, allocations: 203.3 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3521, allocations: 19.55 kB / 0.5648 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3523, allocations: 79.75 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3525, allocations: 111.6 kB / 0.565 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3525, allocations: 16 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.3526, allocations: 44 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.3527, allocations: 43.88 kB / 0.5651 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.3528, allocations: 75.53 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.3531, allocations: 191.1 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3531, allocations: 0 / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3531, allocations: 0 / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3531, allocations: 0 / 0.5654 GB, free: 456 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.001141/0.3543, allocations: 0.5083 MB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3543, allocations: 8.031 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.587e-05/0.3543, allocations: 4.188 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.3544, allocations: 34.73 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.3544, allocations: 16.84 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3547, allocations: 183.2 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3547, allocations: 8.125 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3547, allocations: 8 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.3552, allocations: 149.5 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3552, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3552, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.3553, allocations: 4 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.356, allocations: 159.8 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005707/0.3566, allocations: 351.6 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.3574, allocations: 186.4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.3577, allocations: 92.75 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3578, allocations: 7.984 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.3584, allocations: 159.2 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.3584, allocations: 8 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00378/0.3622, allocations: 0.8205 MB / 0.568 GB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3622, allocations: 55.41 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.3625, allocations: 256.1 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.3625, allocations: 29.7 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3627, allocations: 128.1 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.3627, allocations: 43.84 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.3628, allocations: 33.7 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.363, allocations: 330.8 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007739/0.3637, allocations: 171.8 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.3645, allocations: 174.2 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.3662, allocations: 363.8 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.3662, allocations: 0 / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001609/0.3678, allocations: 463.1 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/0.3678, allocations: 63.41 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.3679, allocations: 0 / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3679, allocations: 3.938 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.3683, allocations: 67.84 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3683, allocations: 4 kB / 0.5701 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.3687, allocations: 67.89 kB / 0.5701 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3687, allocations: 8 kB / 0.5701 GB, free: 11.3 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.0001591/0.3689, allocations: 133.8 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.3689, allocations: 23.84 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.3705, allocations: 406.7 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3705, allocations: 3.938 kB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3705, allocations: 0 / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3705, allocations: 0 / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.3724, allocations: 0.6847 MB / 0.5714 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.3724, allocations: 7.938 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.3729, allocations: 67.84 kB / 0.5714 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.3729, allocations: 0 / 0.5714 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.3729, allocations: 4 kB / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3729, allocations: 0 / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3729, allocations: 0 / 0.5714 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.3745, allocations: 487.3 kB / 0.5719 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.3745, allocations: 19.84 kB / 0.5719 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.3746, allocations: 7.984 kB / 0.5719 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.375, allocations: 63.91 kB / 0.572 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3752, allocations: 47.92 kB / 0.572 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.3752, allocations: 4 kB / 0.572 GB, free: 9.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.3754, allocations: 189.5 kB / 0.5722 GB, free: 9.102 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3754, allocations: 4 kB / 0.5722 GB, free: 9.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.3757, allocations: 47.92 kB / 0.5723 GB, free: 9.051 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.00325/0.379, allocations: 1.308 MB / 0.5735 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.3806, allocations: 462.4 kB / 0.574 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3806, allocations: 0 / 0.574 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.3814, allocations: 175.8 kB / 0.5742 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.3818, allocations: 54.44 kB / 0.5742 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/0.3883, allocations: 2.827 MB / 0.577 GB, free: 4.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3887, allocations: 0.7319 MB / 0.5777 GB, free: 3.496 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.3888, allocations: 21.41 kB / 0.5777 GB, free: 3.477 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.3889, allocations: 59.41 kB / 0.5778 GB, free: 3.418 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3889, allocations: 0 / 0.5778 GB, free: 3.418 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.4173, allocations: 5.996 MB / 0.5836 GB, free: 13.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 9.047 kB / 0.5836 GB, free: 13.5 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: 14.808970980986487] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 11.949972512025852 11.9784393 11.619867514 Calling exit ...