Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001695/0.001695, allocations: 114.8 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.00217/0.00217, allocations: 205.2 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.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2301/0.2301, allocations: 46.95 MB / 361.7 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.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 63.89 kB / 0.497 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3249, allocations: 66.04 MB / 0.5615 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003718/0.3287, allocations: 2.294 MB / 0.5637 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.3312, allocations: 1.341 MB / 0.5651 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.3313, allocations: 15.88 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.3318, allocations: 131.3 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.3324, allocations: 274.8 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.3328, allocations: 191.5 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.3334, allocations: 470.6 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3336, allocations: 43.08 kB / 0.5661 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.334, allocations: 354.9 kB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.3343, allocations: 179.1 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.3343, allocations: 16 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3345, allocations: 71.98 kB / 0.5667 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.3346, allocations: 159.3 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001796/0.3348, allocations: 202.3 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.3354, allocations: 481.4 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3354, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3354, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3354, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001228/0.3366, allocations: 0.8457 MB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3367, allocations: 8.031 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.032e-05/0.3367, allocations: 8.172 kB / 0.5684 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.446e-05/0.3367, allocations: 50.73 kB / 0.5684 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.3368, allocations: 72.47 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005937/0.3374, allocations: 381.6 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.3375, allocations: 20.12 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.3375, allocations: 15.95 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.3379, allocations: 197.4 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.3379, allocations: 4 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.3379, allocations: 4 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.338, allocations: 4 kB / 0.5691 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.3382, allocations: 95.86 kB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009487/0.3391, allocations: 0.7968 MB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.3398, allocations: 230.5 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.34, allocations: 91.52 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.34, allocations: 4 kB / 0.5703 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003922/0.3404, allocations: 196.2 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3404, allocations: 0 / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002669/0.3431, allocations: 1.203 MB / 0.5716 GB, free: 9.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.3432, allocations: 148.4 kB / 0.5718 GB, free: 9.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.3443, allocations: 0.9575 MB / 0.5727 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.3444, allocations: 33.7 kB / 0.5727 GB, free: 8.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.3446, allocations: 277 kB / 0.573 GB, free: 8.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.3448, allocations: 142.8 kB / 0.5731 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3449, allocations: 82.08 kB / 0.5732 GB, free: 8.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3451, allocations: 322 kB / 0.5735 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.3453, allocations: 112.8 kB / 0.5736 GB, free: 7.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3457, allocations: 187.1 kB / 0.5738 GB, free: 7.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.3462, allocations: 315.1 kB / 0.5741 GB, free: 7.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3462, allocations: 4 kB / 0.5741 GB, free: 7.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007973/0.347, allocations: 453.1 kB / 0.5745 GB, free: 6.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.347, allocations: 8 kB / 0.5745 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.347, allocations: 4.078 kB / 0.5746 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3471, allocations: 4 kB / 0.5746 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.3474, allocations: 95.81 kB / 0.5746 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3474, allocations: 11.92 kB / 0.5747 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.3475, allocations: 19.98 kB / 0.5747 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.3476, allocations: 12 kB / 0.5747 GB, free: 6.586 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0003057/0.3479, allocations: 252.1 kB / 0.5749 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.348, allocations: 87.48 kB / 0.575 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009916/0.349, allocations: 0.4951 MB / 0.5755 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.349, allocations: 8 kB / 0.5755 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.349, allocations: 3.938 kB / 0.5755 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.349, allocations: 0 / 0.5755 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.3508, allocations: 1.31 MB / 0.5768 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3508, allocations: 4.625 kB / 0.5768 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.351, allocations: 59.92 kB / 0.5768 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.351, allocations: 8 kB / 0.5769 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.3511, allocations: 19.98 kB / 0.5769 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3511, allocations: 7.938 kB / 0.5769 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3511, allocations: 7.938 kB / 0.5769 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.352, allocations: 0.8006 MB / 0.5777 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.3522, allocations: 107.4 kB / 0.5778 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.3523, allocations: 19.98 kB / 0.5778 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.3526, allocations: 15.98 kB / 0.5778 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.033e-05/0.3527, allocations: 39.83 kB / 0.5778 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.3527, allocations: 23.98 kB / 0.5779 GB, free: 3.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008261/0.3536, allocations: 0.706 MB / 0.5786 GB, free: 2.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3536, allocations: 0 / 0.5786 GB, free: 2.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005566/0.3541, allocations: 87.92 kB / 0.5786 GB, free: 2.395 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003117/0.3572, allocations: 1.772 MB / 0.5804 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.3579, allocations: 291.6 kB / 0.5807 GB, free: 0.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3579, allocations: 3.938 kB / 0.5807 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.3582, allocations: 153 kB / 0.5808 GB, free: 356 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.3592, allocations: 141 kB / 0.5809 GB, free: 220 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006829/0.366, allocations: 5.122 MB / 0.5859 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.3666, allocations: 0.9211 MB / 0.5868 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.3668, allocations: 75.3 kB / 0.5869 GB, free: 9.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.3671, allocations: 215.3 kB / 0.5871 GB, free: 9.672 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3671, allocations: 0 / 0.5871 GB, free: 9.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.4023, allocations: 11.94 MB / 0.5988 GB, free: 13.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.66, allocations: 11.7 kB / 0.5988 GB, free: 13.84 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --stepSize=0.00219736 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.676500178000424] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new_2.y', 't_new_3.y[1]', 'd_t_new_3.y', 'd2_t_new_3.y', 't_new_4.y[1]', 'd_t_new_4.y', 'd2_t_new_4.y'] 12.878498714999296 12.893709295 12.555180371 Calling exit ...