Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001382/0.001382, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001499/0.001499, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.508/1.508, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 46.96 MB / 361.7 MB, free: 4.02 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+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.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.89 kB / 0.4969 GB, free: 7.641 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3255, allocations: 66.03 MB / 0.5614 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003264/0.3287, allocations: 1.718 MB / 0.5631 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.3305, allocations: 0.9665 MB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.3305, allocations: 4 kB / 0.564 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.3308, allocations: 51.75 kB / 0.5641 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.3312, allocations: 103.5 kB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.3314, allocations: 71.75 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3316, allocations: 107.6 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3317, allocations: 9.828 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.693e-05/0.3318, allocations: 47.78 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.3319, allocations: 31.84 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3319, allocations: 4 kB / 0.5645 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.332, allocations: 43.98 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.3321, allocations: 27.8 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.3321, allocations: 31.78 kB / 0.5646 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3324, allocations: 131.4 kB / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3324, allocations: 0 / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3324, allocations: 0 / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3324, allocations: 4 kB / 0.5647 GB, free: 0.8555 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006359/0.333, allocations: 365.4 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3331, allocations: 12.03 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.333e-05/0.3331, allocations: 192 / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.3331, allocations: 30.75 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3332, allocations: 12.89 kB / 0.5651 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.3335, allocations: 159.1 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3335, allocations: 4.125 kB / 0.5652 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3336, allocations: 4 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3337, allocations: 53.67 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3337, allocations: 3.984 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3337, allocations: 4 kB / 0.5653 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3338, allocations: 4 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.216e-05/0.3338, allocations: 19.98 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.3343, allocations: 263.9 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.3345, allocations: 62.61 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.3345, allocations: 20.84 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.3345, allocations: 0 / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.3347, allocations: 71.39 kB / 0.5657 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3347, allocations: 4 kB / 0.5657 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006063/0.3353, allocations: 189.3 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.3354, allocations: 59.41 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.3356, allocations: 242.9 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3357, allocations: 33.62 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.132e-05/0.3357, allocations: 112.1 kB / 0.5663 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.3358, allocations: 27.83 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.3358, allocations: 21.66 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.336, allocations: 334.8 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.238e-05/0.336, allocations: 20 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.3361, allocations: 37.7 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3362, allocations: 57.7 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3362, allocations: 0 / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.3364, allocations: 109.5 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.3365, allocations: 4 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3365, allocations: 4 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3365, allocations: 0 / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3366, allocations: 19.92 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3366, allocations: 3.969 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.3366, allocations: 11.94 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3366, allocations: 8 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001057/0.3368, allocations: 125.8 kB / 0.5671 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.3368, allocations: 11.91 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.337, allocations: 131 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.337, allocations: 0 / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3371, allocations: 3.938 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3371, allocations: 4 kB / 0.5672 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.3375, allocations: 378.4 kB / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3375, allocations: 0 / 0.5676 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.3376, allocations: 8 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3376, allocations: 7.938 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3376, allocations: 0 / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3376, allocations: 3.938 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3376, allocations: 4 kB / 0.5676 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.3379, allocations: 220.4 kB / 0.5678 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.3379, allocations: 19.84 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3379, allocations: 384 / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.338, allocations: 8.031 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.338, allocations: 15.92 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.338, allocations: 4 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.3382, allocations: 179.2 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3382, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3385, allocations: 27.98 kB / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002302/0.3408, allocations: 1.134 MB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.341, allocations: 59.91 kB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.341, allocations: 0 / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.883e-05/0.3411, allocations: 31.97 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.3414, allocations: 27.67 kB / 0.5693 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.3434, allocations: 1.772 MB / 0.571 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3435, allocations: 100.7 kB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.724e-05/0.3436, allocations: 12.97 kB / 0.5711 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.887e-05/0.3437, allocations: 39.42 kB / 0.5712 GB, free: 9.984 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3437, allocations: 0 / 0.5712 GB, free: 9.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.3673, allocations: 3.988 MB / 0.5751 GB, free: 6.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.6, allocations: 6.75 kB / 0.5751 GB, free: 6.066 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.725672047003172] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.81744203506969 11.840503995 11.504957163 Calling exit ...