Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001347/0.001347, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001503/0.001503, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2223/0.2223, allocations: 46.9 MB / 361.1 MB, free: 4.629 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-beta.om/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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002309/0.002309, allocations: 83.88 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3239, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003378/0.3272, allocations: 1.873 MB / 0.563 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.329, allocations: 1.064 MB / 0.5641 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.257e-05/0.3291, allocations: 4 kB / 0.5641 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.3293, allocations: 67.64 kB / 0.5642 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.3297, allocations: 119.5 kB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.3302, allocations: 211.1 kB / 0.5645 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.3305, allocations: 207.4 kB / 0.5647 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.965e-05/0.3306, allocations: 12.38 kB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3307, allocations: 91.72 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3309, allocations: 111.6 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.3309, allocations: 12 kB / 0.5649 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.175e-05/0.331, allocations: 39.98 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.477e-05/0.3311, allocations: 39.84 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.051e-05/0.3312, allocations: 75.52 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.3315, allocations: 195.2 kB / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3315, allocations: 0 / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3315, allocations: 0 / 0.5652 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3315, allocations: 0 / 0.5652 GB, free: 0.9062 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.001163/0.3326, allocations: 0.5875 MB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3327, allocations: 8.031 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.3327, allocations: 16.84 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.333, allocations: 229.9 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.3331, allocations: 4.375 kB / 0.566 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3331, allocations: 16.31 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.3336, allocations: 148.1 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3336, allocations: 4 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3337, allocations: 0 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3337, allocations: 0 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.3344, allocations: 171.8 kB / 0.5664 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008803/0.3353, allocations: 428.5 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/0.3362, allocations: 198.3 kB / 0.567 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.3366, allocations: 88.77 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.3366, allocations: 8 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006069/0.3372, allocations: 171.3 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.774e-06/0.3372, allocations: 0 / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003953/0.3412, allocations: 0.8439 MB / 0.568 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.3412, allocations: 51.41 kB / 0.5681 GB, free: 13.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.3415, allocations: 248.8 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.3415, allocations: 30.27 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3416, allocations: 132 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.3417, allocations: 35.7 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.3418, allocations: 33.7 kB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.342, allocations: 334.8 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007661/0.3428, allocations: 171.9 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.3435, allocations: 190.2 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.345, allocations: 375.8 kB / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.345, allocations: 0 / 0.5696 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00167/0.3466, allocations: 470.5 kB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.307e-05/0.3467, allocations: 63.34 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3467, allocations: 0 / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3467, allocations: 0 / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/0.3472, allocations: 75.89 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3472, allocations: 0 / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.3476, allocations: 63.91 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.3476, allocations: 8 kB / 0.5702 GB, free: 11.5 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.0001819/0.3478, allocations: 141.8 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.3479, allocations: 23.8 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.3496, allocations: 422.7 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3496, allocations: 4 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3496, allocations: 0 / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3496, allocations: 0 / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.3515, allocations: 0.7276 MB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3515, allocations: 0 / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.352, allocations: 71.91 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.352, allocations: 0 / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.352, allocations: 0 / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.352, allocations: 0 / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.352, allocations: 4 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.3536, allocations: 498.9 kB / 0.572 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.3537, allocations: 93.02 kB / 0.5721 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.3537, allocations: 4 kB / 0.5721 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.3542, allocations: 63.91 kB / 0.5722 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.3543, allocations: 47.94 kB / 0.5722 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3544, allocations: 7.984 kB / 0.5723 GB, free: 9.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.3545, allocations: 185.6 kB / 0.5724 GB, free: 9.133 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3545, allocations: 0 / 0.5724 GB, free: 9.133 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.3549, allocations: 40 kB / 0.5725 GB, free: 9.094 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.001582/0.3564, allocations: 405.2 kB / 0.5729 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001728/0.3582, allocations: 478.3 kB / 0.5733 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3582, allocations: 0 / 0.5733 GB, free: 8.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.359, allocations: 187.7 kB / 0.5735 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.3594, allocations: 38.83 kB / 0.5735 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3604, allocations: 386.6 kB / 0.5739 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.3608, allocations: 0.7279 MB / 0.5746 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001227/0.3609, allocations: 33.39 kB / 0.5746 GB, free: 6.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.361, allocations: 23.44 kB / 0.5747 GB, free: 6.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.361, allocations: 0 / 0.5747 GB, free: 6.91 MB / 414.1 MB Notification: Performance of Templates: time 0.007987/0.369, allocations: 3.666 MB / 0.5782 GB, free: 3.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9092994020320475] Failed to read output from testmodel.py, exit status != 0: 0.3774202670902014 0.39131479 0.05687837900000001 Calling exit ...