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.0013/0.0013, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.001449/0.001449, allocations: 208.3 kB / 24.52 MB, free: 4.074 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8 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.2189/0.2189, allocations: 44.92 MB / 359.6 MB, free: 6.238 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",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.001967/0.001967, allocations: 59.91 kB / 0.4939 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3254, allocations: 65.48 MB / 0.5578 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003927/0.3293, allocations: 1.865 MB / 0.5596 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3312, allocations: 1.041 MB / 0.5607 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.3313, allocations: 0 / 0.5607 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.3315, allocations: 63.73 kB / 0.5607 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.3319, allocations: 123.4 kB / 0.5608 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.3323, allocations: 163.3 kB / 0.561 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.3326, allocations: 199.3 kB / 0.5612 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.3327, allocations: 19.56 kB / 0.5612 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.3328, allocations: 87.67 kB / 0.5613 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.333, allocations: 107.6 kB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3331, allocations: 16 kB / 0.5614 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.3332, allocations: 39.94 kB / 0.5614 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.036e-05/0.3332, allocations: 43.89 kB / 0.5615 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.3333, allocations: 83.52 kB / 0.5616 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3336, allocations: 183.2 kB / 0.5617 GB, free: 3.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3336, allocations: 4 kB / 0.5617 GB, free: 3.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3336, allocations: 0 / 0.5617 GB, free: 3.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.3337, allocations: 0 / 0.5617 GB, free: 3.688 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.001169/0.3348, allocations: 0.5122 MB / 0.5622 GB, free: 3.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3349, allocations: 12.02 kB / 0.5623 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.35e-05/0.3349, allocations: 4.188 kB / 0.5623 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.3349, allocations: 34.75 kB / 0.5623 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.568e-05/0.335, allocations: 16.84 kB / 0.5623 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3352, allocations: 179.3 kB / 0.5625 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3352, allocations: 12.05 kB / 0.5625 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.3353, allocations: 8 kB / 0.5625 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.3358, allocations: 145.5 kB / 0.5626 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3358, allocations: 0 / 0.5626 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3358, allocations: 0 / 0.5626 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3358, allocations: 4 kB / 0.5626 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007435/0.3366, allocations: 163.8 kB / 0.5628 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.3371, allocations: 347.7 kB / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.3379, allocations: 194.3 kB / 0.5633 GB, free: 1.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.3383, allocations: 88.75 kB / 0.5634 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3383, allocations: 4 kB / 0.5634 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006222/0.3389, allocations: 159.2 kB / 0.5635 GB, free: 1.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3389, allocations: 0 / 0.5635 GB, free: 1.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003832/0.3428, allocations: 0.8324 MB / 0.5644 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3428, allocations: 51.41 kB / 0.5644 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3431, allocations: 256.1 kB / 0.5647 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.3431, allocations: 33.69 kB / 0.5647 GB, free: 492 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.3432, allocations: 124.1 kB / 0.5648 GB, free: 364 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/0.3433, allocations: 47.83 kB / 0.5649 GB, free: 316 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.3434, allocations: 33.81 kB / 0.5649 GB, free: 276 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3435, allocations: 334.8 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.3443, allocations: 167.8 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.3451, allocations: 163.8 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.3465, allocations: 363.9 kB / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.3465, allocations: 0 / 0.5659 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001657/0.3481, allocations: 466.9 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.3482, allocations: 63.41 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3482, allocations: 0 / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3482, allocations: 3.938 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.3486, allocations: 71.89 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3486, allocations: 0 / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.3491, allocations: 67.91 kB / 0.5665 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3491, allocations: 4 kB / 0.5665 GB, free: 14.55 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.0001471/0.3492, allocations: 137.8 kB / 0.5666 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.3493, allocations: 23.84 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.3509, allocations: 402.7 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.3509, allocations: 3.938 kB / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3509, allocations: 0 / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3509, allocations: 0 / 0.5671 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.3528, allocations: 0.6807 MB / 0.5677 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.3528, allocations: 7.938 kB / 0.5677 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.3532, allocations: 59.91 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3532, allocations: 4 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.3532, allocations: 4 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3532, allocations: 0 / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3532, allocations: 0 / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.3548, allocations: 487 kB / 0.5683 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.3548, allocations: 23.83 kB / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.3549, allocations: 0 / 0.5683 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.3553, allocations: 67.91 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3555, allocations: 47.92 kB / 0.5684 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.3555, allocations: 8 kB / 0.5684 GB, free: 12.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.3557, allocations: 193.9 kB / 0.5686 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3557, allocations: 3.938 kB / 0.5686 GB, free: 12.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.356, allocations: 43.94 kB / 0.5686 GB, free: 12.29 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.003348/0.3593, allocations: 1.315 MB / 0.5699 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.361, allocations: 466.4 kB / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.361, allocations: 0 / 0.5704 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.3618, allocations: 175.8 kB / 0.5705 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.3622, allocations: 48.56 kB / 0.5706 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.3686, allocations: 2.822 MB / 0.5733 GB, free: 7.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.369, allocations: 0.728 MB / 0.574 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.3691, allocations: 17.42 kB / 0.5741 GB, free: 6.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3693, allocations: 63.34 kB / 0.5741 GB, free: 6.668 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3693, allocations: 4 kB / 0.5741 GB, free: 6.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.3965, allocations: 6.007 MB / 0.58 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 2.812 kB / 0.58 GB, free: 0.7344 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.0056 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.71699023299152] Failed to read output from testmodel.py, exit status != 0: 12.066088747000322 12.082740338 11.745746222 Calling exit ...