Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.001343/0.001343, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001441/0.001441, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 7.766 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.224/0.224, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 68.17 kB / 0.4969 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.278, allocations: 66.09 MB / 0.5615 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003084/0.2811, allocations: 1.808 MB / 0.5632 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.2827, allocations: 0.9708 MB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.2827, allocations: 0 / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.2829, allocations: 67.72 kB / 0.5642 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000318/0.2832, allocations: 115.4 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.2836, allocations: 171 kB / 0.5645 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.2839, allocations: 191.5 kB / 0.5647 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.284, allocations: 15.7 kB / 0.5647 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.2841, allocations: 87.69 kB / 0.5648 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.2843, allocations: 107.6 kB / 0.5649 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.2843, allocations: 12 kB / 0.5649 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.2844, allocations: 51.92 kB / 0.5649 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.844e-05/0.2845, allocations: 43.83 kB / 0.565 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.468e-05/0.2846, allocations: 59.66 kB / 0.565 GB, free: 364 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.2848, allocations: 191.2 kB / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2848, allocations: 0 / 0.5652 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2848, allocations: 4 kB / 0.5652 GB, free: 168 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.2849, allocations: 0 / 0.5652 GB, free: 168 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.001063/0.2859, allocations: 0.5122 MB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2859, allocations: 8.031 kB / 0.5657 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.286, allocations: 8.125 kB / 0.5658 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.286, allocations: 34.75 kB / 0.5658 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.286, allocations: 20.83 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.2863, allocations: 179.3 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.2863, allocations: 4.375 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.2863, allocations: 4.375 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.2868, allocations: 149.4 kB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2868, allocations: 4 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2868, allocations: 3.984 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2869, allocations: 4 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.2875, allocations: 163.8 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.288, allocations: 323.7 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.2887, allocations: 190.3 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.2891, allocations: 84.77 kB / 0.5669 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.2891, allocations: 4 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000564/0.2897, allocations: 171.2 kB / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.2897, allocations: 0 / 0.567 GB, free: 14.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003505/0.2932, allocations: 0.8127 MB / 0.5678 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2932, allocations: 63.41 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.2935, allocations: 260.9 kB / 0.5681 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.2936, allocations: 33.64 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.102e-05/0.2936, allocations: 124.1 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.2937, allocations: 43.83 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.2938, allocations: 33.7 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2939, allocations: 334.8 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/0.2946, allocations: 219.2 kB / 0.5689 GB, free: 12.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.2953, allocations: 229.3 kB / 0.5691 GB, free: 11.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2965, allocations: 362.1 kB / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2965, allocations: 0 / 0.5695 GB, free: 11.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001531/0.298, allocations: 0.5193 MB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.538e-05/0.2981, allocations: 55.41 kB / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2981, allocations: 0 / 0.57 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.2981, allocations: 4 kB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.2985, allocations: 71.89 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2986, allocations: 3.938 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.2989, allocations: 63.91 kB / 0.5701 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.299, allocations: 8 kB / 0.5702 GB, free: 10.84 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.0001701/0.2991, allocations: 137.7 kB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.2992, allocations: 19.86 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.3006, allocations: 406.7 kB / 0.5707 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3006, allocations: 4 kB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3006, allocations: 4.5 kB / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3006, allocations: 0 / 0.5707 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.3023, allocations: 0.6496 MB / 0.5713 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3023, allocations: 0 / 0.5713 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.3027, allocations: 71.89 kB / 0.5714 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3027, allocations: 3.938 kB / 0.5714 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3027, allocations: 3.938 kB / 0.5714 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3027, allocations: 4 kB / 0.5714 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3027, allocations: 0 / 0.5714 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.3041, allocations: 493.8 kB / 0.5719 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3042, allocations: 11.91 kB / 0.5719 GB, free: 8.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.3042, allocations: 7.938 kB / 0.5719 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.3046, allocations: 75.83 kB / 0.572 GB, free: 8.887 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3048, allocations: 47.94 kB / 0.572 GB, free: 8.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.3048, allocations: 7.984 kB / 0.572 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.305, allocations: 181.8 kB / 0.5722 GB, free: 8.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.305, allocations: 0 / 0.5722 GB, free: 8.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.3053, allocations: 47.92 kB / 0.5723 GB, free: 8.609 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.003251/0.3085, allocations: 1.332 MB / 0.5736 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.3101, allocations: 0.5088 MB / 0.574 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3101, allocations: 4 kB / 0.5741 GB, free: 6.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.3108, allocations: 179.8 kB / 0.5742 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.3113, allocations: 34.98 kB / 0.5743 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.3177, allocations: 3.061 MB / 0.5772 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.3179, allocations: 115.3 kB / 0.5774 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.318, allocations: 17.44 kB / 0.5774 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.3182, allocations: 55.41 kB / 0.5774 GB, free: 3.238 MB / 414.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3182, allocations: 3.938 kB / 0.5774 GB, free: 3.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.3453, allocations: 6.261 MB / 0.5835 GB, free: 13.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.33, allocations: 4.062 kB / 0.5835 GB, free: 13.01 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.12505917204544] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 11.542807460995391 11.557111053 11.269416565 Calling exit ...