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.001785/0.001785, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.002276/0.002276, allocations: 220.4 kB / 23 MB, free: 5.582 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.496/1.496, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2314/0.2314, allocations: 46.89 MB / 359.4 MB, free: 4.879 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [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.002282/0.002282, allocations: 84.14 kB / 0.4942 GB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.327, allocations: 65.99 MB / 0.5586 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00334/0.3303, allocations: 1.874 MB / 0.5604 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.332, allocations: 1.064 MB / 0.5615 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.3321, allocations: 0 / 0.5615 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.3323, allocations: 67.59 kB / 0.5615 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.3327, allocations: 119.4 kB / 0.5616 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.3332, allocations: 218.6 kB / 0.5619 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.3335, allocations: 199.4 kB / 0.562 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3336, allocations: 19.38 kB / 0.5621 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3337, allocations: 83.73 kB / 0.5621 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.3338, allocations: 107.6 kB / 0.5622 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.3339, allocations: 12 kB / 0.5623 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-05/0.334, allocations: 43.98 kB / 0.5623 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.3341, allocations: 47.83 kB / 0.5623 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.406e-05/0.3341, allocations: 71.58 kB / 0.5624 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.3344, allocations: 199.1 kB / 0.5626 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3344, allocations: 4 kB / 0.5626 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3344, allocations: 0 / 0.5626 GB, free: 1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3344, allocations: 0 / 0.5626 GB, free: 1 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.001115/0.3356, allocations: 0.5913 MB / 0.5632 GB, free: 356 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3356, allocations: 8.031 kB / 0.5632 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.3356, allocations: 38.73 kB / 0.5632 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.3357, allocations: 20.84 kB / 0.5632 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.336, allocations: 237.7 kB / 0.5635 GB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.336, allocations: 8.359 kB / 0.5635 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.336, allocations: 4.375 kB / 0.5635 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.3365, allocations: 153.6 kB / 0.5636 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3365, allocations: 4 kB / 0.5636 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3366, allocations: 0 / 0.5636 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3366, allocations: 4 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.3373, allocations: 167.8 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.3381, allocations: 440.5 kB / 0.5642 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/0.3389, allocations: 194.3 kB / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.3393, allocations: 92.75 kB / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.3393, allocations: 0 / 0.5645 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.3399, allocations: 175.2 kB / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3399, allocations: 0 / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003751/0.3436, allocations: 0.84 MB / 0.5655 GB, free: 13.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.3437, allocations: 51.41 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.344, allocations: 264.9 kB / 0.5658 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.344, allocations: 33.7 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.3441, allocations: 128.1 kB / 0.5659 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.3442, allocations: 31.86 kB / 0.566 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.3442, allocations: 37.7 kB / 0.566 GB, free: 13.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3444, allocations: 330.8 kB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/0.3451, allocations: 171.8 kB / 0.5665 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000725/0.3459, allocations: 182.3 kB / 0.5667 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.3472, allocations: 375.8 kB / 0.567 GB, free: 12.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3472, allocations: 0 / 0.567 GB, free: 12.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001625/0.3489, allocations: 476.5 kB / 0.5675 GB, free: 11.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.784e-05/0.3489, allocations: 61.75 kB / 0.5675 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3489, allocations: 0 / 0.5675 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.349, allocations: 0 / 0.5675 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.3494, allocations: 75.89 kB / 0.5676 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3494, allocations: 4 kB / 0.5676 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.3498, allocations: 59.84 kB / 0.5677 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.3498, allocations: 8 kB / 0.5677 GB, free: 11.52 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.0001613/0.35, allocations: 145.8 kB / 0.5678 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.35, allocations: 15.91 kB / 0.5678 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.3516, allocations: 423 kB / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3516, allocations: 0 / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3516, allocations: 0 / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.3516, allocations: 4.047 kB / 0.5682 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.3535, allocations: 0.7362 MB / 0.569 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3535, allocations: 0 / 0.569 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.3539, allocations: 71.91 kB / 0.569 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3539, allocations: 0 / 0.569 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.3539, allocations: 11.92 kB / 0.569 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3539, allocations: 0 / 0.569 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3539, allocations: 3.984 kB / 0.569 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.3554, allocations: 494.4 kB / 0.5695 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.3555, allocations: 101.5 kB / 0.5696 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.3555, allocations: 7.938 kB / 0.5696 GB, free: 9.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.356, allocations: 63.91 kB / 0.5697 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.3561, allocations: 47.94 kB / 0.5697 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.3561, allocations: 4 kB / 0.5697 GB, free: 9.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.3563, allocations: 196.5 kB / 0.5699 GB, free: 9.129 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3563, allocations: 3.938 kB / 0.5699 GB, free: 9.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.3567, allocations: 44 kB / 0.57 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.003321/0.36, allocations: 1.317 MB / 0.5712 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.3616, allocations: 470.3 kB / 0.5717 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3617, allocations: 0 / 0.5717 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000761/0.3624, allocations: 183.8 kB / 0.5719 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.3628, allocations: 36.64 kB / 0.5719 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006494/0.3693, allocations: 2.901 MB / 0.5747 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3698, allocations: 0.7319 MB / 0.5754 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.3699, allocations: 29.41 kB / 0.5755 GB, free: 3.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3701, allocations: 63.34 kB / 0.5755 GB, free: 3.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3701, allocations: 0 / 0.5755 GB, free: 3.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02943/0.3996, allocations: 5.872 MB / 0.5813 GB, free: 13.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.198/8.597, allocations: 11.19 kB / 0.5813 GB, free: 13.48 MB / 430.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.464842329005478] Failed to read output from testmodel.py, exit status != 0: 8.72072912499425 8.736047755 8.398540075 Calling exit ...