Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001393/0.001393, 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.00142/0.00142, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.386/1.386, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2189/0.2189, allocations: 46.92 MB / 361.6 MB, free: 4.184 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 75.88 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3044, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003297/0.3077, allocations: 1.877 MB / 0.5634 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3094, allocations: 1.068 MB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.3095, allocations: 4 kB / 0.5644 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.3097, allocations: 67.66 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.3101, allocations: 111.5 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.3106, allocations: 215 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.3109, allocations: 203.3 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.311, allocations: 23.55 kB / 0.565 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.3111, allocations: 87.69 kB / 0.5651 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3113, allocations: 107.6 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3113, allocations: 16 kB / 0.5652 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.61e-05/0.3114, allocations: 39.98 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.3115, allocations: 43.83 kB / 0.5653 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.3116, allocations: 75.53 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.3119, allocations: 203.1 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3119, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3119, allocations: 0 / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3119, allocations: 0 / 0.5655 GB, free: 160 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.001076/0.313, allocations: 0.5122 MB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.313, allocations: 8.031 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.36e-05/0.313, allocations: 4.188 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.313, allocations: 34.75 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.3131, allocations: 20.83 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3133, allocations: 183.2 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3134, allocations: 8.375 kB / 0.5663 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.3134, allocations: 8.375 kB / 0.5663 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.3139, allocations: 149.5 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3139, allocations: 0 / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3139, allocations: 3.938 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3139, allocations: 0 / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.3147, allocations: 167.8 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008136/0.3155, allocations: 419.5 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.3162, allocations: 186.4 kB / 0.5672 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.3166, allocations: 92.77 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.3166, allocations: 0 / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005955/0.3172, allocations: 179.1 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.3172, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003709/0.3209, allocations: 0.8323 MB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.321, allocations: 55.41 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.3213, allocations: 260.8 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.667e-05/0.3213, allocations: 33.69 kB / 0.5686 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.3214, allocations: 128.1 kB / 0.5687 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/0.3215, allocations: 43.83 kB / 0.5687 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.3216, allocations: 33.7 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3217, allocations: 330.8 kB / 0.5691 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/0.3225, allocations: 175.7 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.3232, allocations: 177.8 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3246, allocations: 379.9 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3246, allocations: 0 / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001573/0.3261, allocations: 471 kB / 0.5702 GB, free: 11.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.3262, allocations: 63.39 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3262, allocations: 0 / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3262, allocations: 4 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.3267, allocations: 71.84 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.3267, allocations: 7.938 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.3271, allocations: 68.02 kB / 0.5704 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.3271, allocations: 7.938 kB / 0.5705 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.0001757/0.3273, allocations: 139.1 kB / 0.5706 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.3273, allocations: 15.91 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.3289, allocations: 426.9 kB / 0.571 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3289, allocations: 7.984 kB / 0.571 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3289, allocations: 4.5 kB / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3289, allocations: 0 / 0.571 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.3308, allocations: 0.6924 MB / 0.5717 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3308, allocations: 0 / 0.5717 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/0.3312, allocations: 71.84 kB / 0.5718 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.3312, allocations: 3.938 kB / 0.5718 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3312, allocations: 11.92 kB / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3312, allocations: 0 / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3312, allocations: 0 / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.3327, allocations: 493.7 kB / 0.5723 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.3327, allocations: 19.84 kB / 0.5723 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.3328, allocations: 11.94 kB / 0.5723 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.3332, allocations: 63.91 kB / 0.5723 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.3333, allocations: 47.92 kB / 0.5724 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3334, allocations: 4 kB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3336, allocations: 188.5 kB / 0.5726 GB, free: 8.625 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3336, allocations: 0 / 0.5726 GB, free: 8.625 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.3338, allocations: 44 kB / 0.5726 GB, free: 8.582 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.003284/0.3371, allocations: 1.326 MB / 0.5739 GB, free: 7.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3387, allocations: 477.1 kB / 0.5744 GB, free: 6.883 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3387, allocations: 4 kB / 0.5744 GB, free: 6.879 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007429/0.3394, allocations: 179.7 kB / 0.5745 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.3398, allocations: 32.64 kB / 0.5746 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/0.3461, allocations: 2.896 MB / 0.5774 GB, free: 3.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3464, allocations: 0.7319 MB / 0.5781 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.3466, allocations: 29.41 kB / 0.5781 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3467, allocations: 59.41 kB / 0.5782 GB, free: 2.828 MB / 414.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3467, allocations: 3.938 kB / 0.5782 GB, free: 2.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.3729, allocations: 6.102 MB / 0.5842 GB, free: 12.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.14, allocations: 2.188 kB / 0.5842 GB, free: 12.76 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.924365835962817] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 11.346800841973163 11.362373393 11.047301432 Calling exit ...