Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001387/0.001387, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001691/0.001691, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2212/0.2212, allocations: 44.94 MB / 358.9 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 59.91 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3357, allocations: 65.48 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003899/0.3396, allocations: 1.817 MB / 0.5588 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002367/0.342, allocations: 0.9986 MB / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3421, allocations: 0 / 0.5597 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.3424, allocations: 59.73 kB / 0.5598 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005264/0.3429, allocations: 123.4 kB / 0.5599 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.3435, allocations: 215 kB / 0.5601 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.3438, allocations: 203.4 kB / 0.5603 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3439, allocations: 15.56 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.3441, allocations: 91.67 kB / 0.5604 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.3443, allocations: 95.64 kB / 0.5605 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.3443, allocations: 12 kB / 0.5605 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.3444, allocations: 43.92 kB / 0.5606 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3445, allocations: 51.83 kB / 0.5606 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.3446, allocations: 59.66 kB / 0.5607 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.3449, allocations: 195.2 kB / 0.5608 GB, free: 3.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3449, allocations: 4 kB / 0.5609 GB, free: 3.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3449, allocations: 3.938 kB / 0.5609 GB, free: 3.547 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3449, allocations: 0 / 0.5609 GB, free: 3.547 MB / 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.001409/0.3464, allocations: 0.5161 MB / 0.5614 GB, free: 2.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.3464, allocations: 12.03 kB / 0.5614 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.291e-05/0.3465, allocations: 34.75 kB / 0.5614 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.3466, allocations: 16.84 kB / 0.5614 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3469, allocations: 183.3 kB / 0.5616 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.3469, allocations: 8.375 kB / 0.5616 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.3469, allocations: 7.938 kB / 0.5616 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.3474, allocations: 153.4 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3475, allocations: 3.984 kB / 0.5618 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.3475, allocations: 0 / 0.5618 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3475, allocations: 0 / 0.5618 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.3482, allocations: 171.8 kB / 0.5619 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009607/0.3492, allocations: 367.7 kB / 0.5623 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.35, allocations: 202.3 kB / 0.5625 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/0.3503, allocations: 92.91 kB / 0.5626 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.3504, allocations: 4 kB / 0.5626 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006046/0.351, allocations: 171.2 kB / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.351, allocations: 0 / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003794/0.3548, allocations: 0.84 MB / 0.5635 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3548, allocations: 63.33 kB / 0.5636 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.3551, allocations: 256.9 kB / 0.5638 GB, free: 308 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3552, allocations: 29.7 kB / 0.5639 GB, free: 272 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-05/0.3553, allocations: 120.1 kB / 0.564 GB, free: 148 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.3553, allocations: 43.69 kB / 0.564 GB, free: 104 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.3554, allocations: 33.7 kB / 0.5641 GB, free: 64 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3556, allocations: 330.8 kB / 0.5644 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007872/0.3564, allocations: 231.2 kB / 0.5646 GB, free: 15.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.3572, allocations: 233.9 kB / 0.5648 GB, free: 15.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.3586, allocations: 379.9 kB / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3586, allocations: 0 / 0.5652 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001716/0.3603, allocations: 0.5255 MB / 0.5657 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.3604, allocations: 67.39 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3604, allocations: 0 / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3604, allocations: 4 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.3608, allocations: 71.84 kB / 0.5658 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3609, allocations: 0 / 0.5658 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.3613, allocations: 63.91 kB / 0.5659 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.3613, allocations: 11.98 kB / 0.5659 GB, free: 14.09 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.0001527/0.3614, allocations: 133.8 kB / 0.566 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3615, allocations: 23.89 kB / 0.5661 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.3631, allocations: 419 kB / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.3631, allocations: 7.938 kB / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3631, allocations: 0 / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3631, allocations: 0 / 0.5665 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.3651, allocations: 0.6725 MB / 0.5671 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3651, allocations: 0 / 0.5671 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.3655, allocations: 71.84 kB / 0.5672 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3655, allocations: 4 kB / 0.5672 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3655, allocations: 3.984 kB / 0.5672 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3655, allocations: 4 kB / 0.5672 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3655, allocations: 0.5625 kB / 0.5672 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3671, allocations: 495 kB / 0.5677 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.3672, allocations: 23.78 kB / 0.5677 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/0.3672, allocations: 8 kB / 0.5677 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.3677, allocations: 67.91 kB / 0.5678 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.3678, allocations: 47.92 kB / 0.5678 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.3678, allocations: 7.938 kB / 0.5678 GB, free: 12.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.368, allocations: 188.5 kB / 0.568 GB, free: 11.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.368, allocations: 0 / 0.568 GB, free: 11.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.3683, allocations: 44 kB / 0.568 GB, free: 11.82 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.00359/0.3719, allocations: 1.352 MB / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.3738, allocations: 0.5127 MB / 0.5699 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3738, allocations: 0 / 0.5699 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.3746, allocations: 191.7 kB / 0.57 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.375, allocations: 51.31 kB / 0.5701 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/0.3816, allocations: 3.124 MB / 0.5731 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3817, allocations: 115.3 kB / 0.5733 GB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.3819, allocations: 33.39 kB / 0.5733 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.382, allocations: 55.42 kB / 0.5733 GB, free: 6.352 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.382, allocations: 0 / 0.5733 GB, free: 6.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.4172, allocations: 6.752 MB / 0.5799 GB, free: 15.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 0 / 0.5799 GB, free: 15.67 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.76143847592175] Failed to read output from testmodel.py, exit status != 0: 12.046769306994975 12.063471554 11.715155908 Calling exit ...