Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001316/0.001316, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001399/0.001399, allocations: 216.3 kB / 24.53 MB, free: 4.066 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.004 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.2262/0.2262, allocations: 46.94 MB / 361.7 MB, free: 4.258 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.91 kB / 0.497 GB, free: 7.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2992, allocations: 66.03 MB / 0.5614 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003426/0.3026, allocations: 1.882 MB / 0.5633 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.3045, allocations: 1.069 MB / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-05/0.3046, allocations: 0 / 0.5643 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.3049, allocations: 59.72 kB / 0.5644 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.3053, allocations: 123.4 kB / 0.5645 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.3059, allocations: 211.3 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.3063, allocations: 207.3 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3064, allocations: 27.69 kB / 0.5649 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.3066, allocations: 79.75 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.3068, allocations: 111.6 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.3068, allocations: 16 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.3069, allocations: 39.98 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.307, allocations: 43.83 kB / 0.5652 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3071, allocations: 71.59 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.3075, allocations: 199.1 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3075, allocations: 0 / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.3075, allocations: 4 kB / 0.5655 GB, free: 316 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3075, allocations: 7.938 kB / 0.5655 GB, free: 308 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.001169/0.3087, allocations: 0.5122 MB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.3087, allocations: 8.031 kB / 0.566 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.331e-05/0.3087, allocations: 4.188 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.3087, allocations: 38.75 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.3088, allocations: 20.84 kB / 0.566 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.3091, allocations: 183.2 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.3091, allocations: 8.125 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.3091, allocations: 4 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.3096, allocations: 145.5 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3096, allocations: 4 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3096, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.3097, allocations: 4 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.3104, allocations: 167.7 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.3112, allocations: 407.5 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.3121, allocations: 194.4 kB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.3124, allocations: 88.77 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.3125, allocations: 0 / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006046/0.3131, allocations: 179.1 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.3131, allocations: 0 / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003788/0.3169, allocations: 0.84 MB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.3169, allocations: 55.55 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.3172, allocations: 256.9 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/0.3173, allocations: 37.69 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.227e-05/0.3173, allocations: 124.1 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/0.3174, allocations: 39.69 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.3175, allocations: 37.7 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3176, allocations: 326.8 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.3184, allocations: 175.8 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.3191, allocations: 171.8 kB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.3206, allocations: 386.3 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3206, allocations: 0 / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00162/0.3222, allocations: 476.5 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.3223, allocations: 63.39 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3223, allocations: 0 / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3223, allocations: 3.938 kB / 0.5702 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.3227, allocations: 67.91 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3227, allocations: 7.938 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.3231, allocations: 63.91 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3232, allocations: 7.984 kB / 0.5704 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.0001593/0.3233, allocations: 137.8 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3234, allocations: 16.02 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.325, allocations: 430.9 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.3251, allocations: 7.875 kB / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3251, allocations: 0 / 0.5709 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.3251, allocations: 3.984 kB / 0.5709 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.327, allocations: 0.6969 MB / 0.5716 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.327, allocations: 3.938 kB / 0.5716 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003896/0.3273, allocations: 67.91 kB / 0.5717 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3274, allocations: 4 kB / 0.5717 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3274, allocations: 3.984 kB / 0.5717 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.867e-05/0.3274, allocations: 3.938 kB / 0.5717 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3274, allocations: 7.938 kB / 0.5717 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.329, allocations: 490.3 kB / 0.5722 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.329, allocations: 23.78 kB / 0.5722 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3291, allocations: 8 kB / 0.5722 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.3295, allocations: 59.91 kB / 0.5723 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.3297, allocations: 47.92 kB / 0.5723 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3297, allocations: 8 kB / 0.5723 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.3299, allocations: 192.5 kB / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3299, allocations: 0 / 0.5725 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.3302, allocations: 40 kB / 0.5725 GB, free: 8.727 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.003398/0.3336, allocations: 1.325 MB / 0.5738 GB, free: 7.539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.3353, allocations: 478.3 kB / 0.5743 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3353, allocations: 0 / 0.5743 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007761/0.3361, allocations: 183.8 kB / 0.5745 GB, free: 6.867 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.3365, allocations: 34.27 kB / 0.5745 GB, free: 6.832 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006487/0.343, allocations: 2.911 MB / 0.5773 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.3434, allocations: 0.7319 MB / 0.5781 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.3435, allocations: 29.39 kB / 0.5781 GB, free: 3.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.3436, allocations: 63.41 kB / 0.5781 GB, free: 2.98 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3436, allocations: 0 / 0.5781 GB, free: 2.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.3751, allocations: 6.08 MB / 0.5841 GB, free: 12.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 9.609 kB / 0.5841 GB, free: 12.96 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.961170148977544] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 12.138245815993287 12.157327041 11.846479109 Calling exit ...