Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001426/0.001426, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001696/0.001696, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2526/0.2526, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [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.002426/0.002426, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3862, allocations: 65.48 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003915/0.3901, allocations: 1.815 MB / 0.5592 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.3923, allocations: 0.9635 MB / 0.5602 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.3923, allocations: 0 / 0.5602 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.3926, allocations: 71.66 kB / 0.5603 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.3931, allocations: 123.4 kB / 0.5604 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.3935, allocations: 159.1 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.3939, allocations: 203.3 kB / 0.5607 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.394, allocations: 13.75 kB / 0.5607 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3941, allocations: 83.67 kB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.3943, allocations: 99.64 kB / 0.5609 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.3943, allocations: 12 kB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3945, allocations: 51.97 kB / 0.561 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.3946, allocations: 35.91 kB / 0.561 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.3946, allocations: 59.59 kB / 0.5611 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003105/0.395, allocations: 189.6 kB / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.395, allocations: 0 / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.395, allocations: 0 / 0.5612 GB, free: 3.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.395, allocations: 0 / 0.5612 GB, free: 3.605 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.001174/0.3961, allocations: 0.5083 MB / 0.5617 GB, free: 3.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3962, allocations: 8.031 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.3962, allocations: 24.8 kB / 0.5618 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3965, allocations: 178.1 kB / 0.5619 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3965, allocations: 4.375 kB / 0.5619 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.3966, allocations: 12.12 kB / 0.562 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.3971, allocations: 145.5 kB / 0.5621 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3971, allocations: 0 / 0.5621 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3971, allocations: 0 / 0.5621 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3971, allocations: 4 kB / 0.5621 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000718/0.3978, allocations: 159.8 kB / 0.5622 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.3984, allocations: 292.3 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008173/0.3992, allocations: 186.4 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.3996, allocations: 84.77 kB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3996, allocations: 4 kB / 0.5628 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006975/0.4003, allocations: 175.1 kB / 0.563 GB, free: 1.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.4003, allocations: 0 / 0.563 GB, free: 1.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003869/0.4042, allocations: 0.8168 MB / 0.5638 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.4043, allocations: 63.41 kB / 0.5638 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.4046, allocations: 243.1 kB / 0.564 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.4046, allocations: 33.7 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4048, allocations: 132 kB / 0.5642 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.4048, allocations: 35.69 kB / 0.5642 GB, free: 376 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.96e-05/0.4049, allocations: 33.7 kB / 0.5643 GB, free: 336 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4051, allocations: 326.8 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/0.4059, allocations: 227.2 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007591/0.4066, allocations: 231.1 kB / 0.565 GB, free: 15.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.4081, allocations: 362.2 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4081, allocations: 0 / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001684/0.4097, allocations: 0.5038 MB / 0.5659 GB, free: 14.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.4098, allocations: 63.39 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4098, allocations: 0 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4098, allocations: 112 / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.4103, allocations: 75.78 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4103, allocations: 4 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.4107, allocations: 63.84 kB / 0.5661 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.4107, allocations: 11.98 kB / 0.5661 GB, free: 14.4 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.0001754/0.4109, allocations: 129.8 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.4109, allocations: 19.86 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.4126, allocations: 418.6 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4126, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4126, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4126, allocations: 7.922 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.4144, allocations: 0.6189 MB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4144, allocations: 0 / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.4148, allocations: 67.91 kB / 0.5673 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4148, allocations: 7.938 kB / 0.5673 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.4149, allocations: 8.547 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.4149, allocations: 3.938 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4149, allocations: 0 / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4164, allocations: 486.8 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.4164, allocations: 15.89 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.4165, allocations: 8 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/0.4169, allocations: 67.78 kB / 0.5679 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.4171, allocations: 47.92 kB / 0.5679 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.4171, allocations: 8 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.4173, allocations: 184.6 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4173, allocations: 0 / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.4176, allocations: 43.98 kB / 0.5681 GB, free: 12.21 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.001722/0.4193, allocations: 432.1 kB / 0.5685 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.4211, allocations: 0.5057 MB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4211, allocations: 0 / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007734/0.4219, allocations: 183.7 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4223, allocations: 34.69 kB / 0.5692 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.4234, allocations: 358.7 kB / 0.5696 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.4236, allocations: 119.2 kB / 0.5697 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.4237, allocations: 17.42 kB / 0.5697 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4238, allocations: 23.42 kB / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4238, allocations: 0 / 0.5697 GB, free: 10.66 MB / 414.1 MB Notification: Performance of Templates: time 0.009174/0.433, allocations: 3.968 MB / 0.5736 GB, free: 6.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.357177501544356] Failed to read output from testmodel.py, exit status != 0: 0.44249483197927475 0.458819501 0.060267229000000005 Calling exit ...