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.001504/0.001504, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001582/0.001582, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.478/1.478, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2358/0.2358, allocations: 46.89 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 179] 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.002427/0.002427, allocations: 76.06 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3757, allocations: 65.98 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003346/0.3791, allocations: 1.885 MB / 0.5631 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.3809, allocations: 1.064 MB / 0.5641 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.381, allocations: 0 / 0.5641 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002565/0.3812, allocations: 63.72 kB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.3816, allocations: 123.4 kB / 0.5643 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.3821, allocations: 210.8 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003006/0.3824, allocations: 203.4 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3825, allocations: 17.55 kB / 0.5647 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.3826, allocations: 79.69 kB / 0.5648 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001696/0.3828, allocations: 111.6 kB / 0.5649 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.3828, allocations: 12 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.103e-05/0.3829, allocations: 40 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.383, allocations: 51.75 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.108e-05/0.3831, allocations: 71.59 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.3834, allocations: 189.9 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3834, allocations: 4 kB / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3834, allocations: 0 / 0.5652 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3834, allocations: 3.938 kB / 0.5652 GB, free: 0.9102 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.001222/0.3846, allocations: 0.5835 MB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3846, allocations: 12.03 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.3847, allocations: 20.83 kB / 0.5658 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.385, allocations: 228 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.385, allocations: 4.375 kB / 0.566 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.385, allocations: 4.375 kB / 0.5661 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.3856, allocations: 153.8 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3856, allocations: 0 / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.3856, allocations: 4 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.3856, allocations: 4 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.3864, allocations: 167.7 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.3873, allocations: 440.5 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/0.3881, allocations: 190.4 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.3885, allocations: 88.77 kB / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3885, allocations: 0 / 0.5671 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/0.3891, allocations: 171.1 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3891, allocations: 4 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003909/0.393, allocations: 0.8284 MB / 0.568 GB, free: 13.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.3931, allocations: 67.34 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.3934, allocations: 248.8 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.3934, allocations: 29.7 kB / 0.5684 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.3935, allocations: 124.1 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.3936, allocations: 43.83 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-05/0.3937, allocations: 33.7 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3938, allocations: 338.8 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007616/0.3946, allocations: 171.8 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.3953, allocations: 175.8 kB / 0.5692 GB, free: 12.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.3968, allocations: 374.1 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3968, allocations: 4 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001706/0.3985, allocations: 472.5 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.3986, allocations: 59.41 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3986, allocations: 3.938 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3986, allocations: 4 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.3991, allocations: 67.91 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3991, allocations: 0 / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/0.3995, allocations: 71.83 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.3995, allocations: 8 kB / 0.5702 GB, free: 11.51 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.0001771/0.3997, allocations: 141.8 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3997, allocations: 19.91 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.4014, allocations: 422.6 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4014, allocations: 0 / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4014, allocations: 4.109 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4014, allocations: 12.44 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.4033, allocations: 0.7167 MB / 0.5715 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4033, allocations: 0 / 0.5715 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.4037, allocations: 75.89 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4037, allocations: 0 / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.4037, allocations: 7.938 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4037, allocations: 3.938 kB / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4037, allocations: 0 / 0.5716 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.4053, allocations: 494.3 kB / 0.572 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.4054, allocations: 93 kB / 0.5721 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.4054, allocations: 3.938 kB / 0.5721 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.4059, allocations: 63.91 kB / 0.5722 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.406, allocations: 51.88 kB / 0.5723 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.406, allocations: 8 kB / 0.5723 GB, free: 9.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.4062, allocations: 189.6 kB / 0.5724 GB, free: 9.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4062, allocations: 0 / 0.5724 GB, free: 9.129 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.4065, allocations: 47.95 kB / 0.5725 GB, free: 9.082 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.001498/0.408, allocations: 396 kB / 0.5729 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001683/0.4097, allocations: 482.3 kB / 0.5733 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4097, allocations: 0 / 0.5733 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007871/0.4105, allocations: 183.8 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.0003832/0.4109, allocations: 24.66 kB / 0.5735 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.4119, allocations: 382.5 kB / 0.5739 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.4123, allocations: 0.7357 MB / 0.5746 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.4125, allocations: 37.38 kB / 0.5746 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.4126, allocations: 15.44 kB / 0.5747 GB, free: 6.922 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4126, allocations: 0 / 0.5747 GB, free: 6.922 MB / 414.1 MB Notification: Performance of Templates: time 0.008264/0.4208, allocations: 3.679 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 cvode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.307266758754849] Failed to read output from testmodel.py, exit status != 0: 0.4299947521649301 0.44438752400000003 0.057974644000000006 Calling exit ...