Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001361/0.001361, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001791/0.001791, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2604/0.2604, allocations: 46.92 MB / 361.6 MB, free: 4.273 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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002944/0.002944, allocations: 67.88 kB / 0.497 GB, free: 7.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3416, allocations: 66.04 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003717/0.3453, allocations: 1.757 MB / 0.5632 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3476, allocations: 1.053 MB / 0.5642 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3478, allocations: 4 kB / 0.5642 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.3482, allocations: 107.6 kB / 0.5643 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.3486, allocations: 131.5 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3489, allocations: 83.67 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.3491, allocations: 127.7 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.3493, allocations: 17.8 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3494, allocations: 67.7 kB / 0.5648 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3496, allocations: 79.72 kB / 0.5648 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3496, allocations: 4 kB / 0.5648 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.3498, allocations: 55.98 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.3498, allocations: 31.91 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.3499, allocations: 47.61 kB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.3502, allocations: 167.3 kB / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3502, allocations: 0 / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3502, allocations: 0 / 0.5651 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3502, allocations: 0 / 0.5651 GB, free: 0.5898 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000603/0.3508, allocations: 389.2 kB / 0.5655 GB, free: 184 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3508, allocations: 12.03 kB / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/0.3509, allocations: 192 / 0.5655 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.3509, allocations: 30.75 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.3509, allocations: 20.78 kB / 0.5656 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3513, allocations: 175.1 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.3513, allocations: 12.12 kB / 0.5657 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3513, allocations: 4 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3515, allocations: 65.66 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3515, allocations: 0 / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3515, allocations: 0 / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3515, allocations: 4 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.3516, allocations: 31.97 kB / 0.5658 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.3522, allocations: 295.8 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.3525, allocations: 66.55 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.3526, allocations: 20.86 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3526, allocations: 4 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/0.3528, allocations: 79.41 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.3528, allocations: 0 / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009946/0.3538, allocations: 289.6 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3539, allocations: 51.41 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.3541, allocations: 255.8 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3542, allocations: 25.7 kB / 0.5669 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.116e-05/0.3542, allocations: 116.1 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.3543, allocations: 47.62 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.3543, allocations: 29.7 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3545, allocations: 326.8 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.3546, allocations: 31.98 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.3547, allocations: 57.69 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3548, allocations: 89.7 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3548, allocations: 4 kB / 0.5675 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002543/0.3551, allocations: 145.5 kB / 0.5677 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3551, allocations: 7.984 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3551, allocations: 4 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3551, allocations: 3.938 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.3552, allocations: 20 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.3552, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.3553, allocations: 7.938 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3553, allocations: 4 kB / 0.5677 GB, free: 13.7 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 (14): * Single equations (assignments): 14 * 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.0001261/0.3554, allocations: 148.5 kB / 0.5679 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.3554, allocations: 23.83 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.3557, allocations: 159 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3558, allocations: 3.938 kB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3558, allocations: 0 / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3558, allocations: 4 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006064/0.3564, allocations: 451 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3564, allocations: 4 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.503e-05/0.3564, allocations: 19.98 kB / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3564, allocations: 0 / 0.5685 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3564, allocations: 4 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3564, allocations: 0 / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3564, allocations: 3.938 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3568, allocations: 253.1 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.3568, allocations: 11.91 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.3568, allocations: 8 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.334e-05/0.3569, allocations: 0 / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3569, allocations: 11.97 kB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3569, allocations: 8 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.3571, allocations: 189.5 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3571, allocations: 4 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.3574, allocations: 35.92 kB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002534/0.36, allocations: 1.194 MB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3602, allocations: 87.84 kB / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3602, allocations: 0 / 0.5703 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.799e-05/0.3603, allocations: 39.92 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.3607, allocations: 39.47 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.363, allocations: 1.961 MB / 0.5723 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.3633, allocations: 0.724 MB / 0.573 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.706e-05/0.3634, allocations: 25.06 kB / 0.573 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.809e-05/0.3635, allocations: 47.42 kB / 0.573 GB, free: 8.246 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3635, allocations: 0 / 0.573 GB, free: 8.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.387, allocations: 4.434 MB / 0.5774 GB, free: 3.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.64, allocations: 4.062 kB / 0.5774 GB, free: 3.898 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.70798237604322] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 11.867911370005459 11.882622048 11.529002849 Calling exit ...