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.001729/0.001729, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002073/0.002073, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.781 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.2343/0.2343, allocations: 46.96 MB / 361.7 MB, free: 4.027 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.002031/0.002031, allocations: 71.89 kB / 0.497 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3188, allocations: 66.03 MB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003774/0.3226, allocations: 2.162 MB / 0.5635 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.3249, allocations: 1.268 MB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3251, allocations: 7.938 kB / 0.5648 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.3255, allocations: 143.3 kB / 0.5649 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005719/0.3261, allocations: 266.8 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.3265, allocations: 191.5 kB / 0.5654 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006329/0.3271, allocations: 478.6 kB / 0.5658 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.3272, allocations: 43.08 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.3276, allocations: 343 kB / 0.5662 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.3279, allocations: 175.1 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.3279, allocations: 16 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.3281, allocations: 67.86 kB / 0.5664 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.3283, allocations: 163.4 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.3285, allocations: 158.6 kB / 0.5667 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.329, allocations: 493.4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.329, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.329, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.329, allocations: 0 / 0.5672 GB, free: 14.24 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.001226/0.3303, allocations: 0.8457 MB / 0.568 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.3303, allocations: 11.97 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.437e-05/0.3303, allocations: 4.188 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.656e-05/0.3304, allocations: 46.73 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3305, allocations: 72.47 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.3312, allocations: 371 kB / 0.5685 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.3312, allocations: 12.12 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.3312, allocations: 19.95 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.3317, allocations: 197.5 kB / 0.5687 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.3317, allocations: 11.98 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3317, allocations: 0 / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3317, allocations: 4 kB / 0.5688 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.332, allocations: 103.9 kB / 0.5689 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3331, allocations: 0.7812 MB / 0.5696 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.3338, allocations: 242.4 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.334, allocations: 91.52 kB / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.334, allocations: 4 kB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.3344, allocations: 208.2 kB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.3344, allocations: 0 / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002764/0.3372, allocations: 1.238 MB / 0.5713 GB, free: 9.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3373, allocations: 144.5 kB / 0.5715 GB, free: 9.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.3385, allocations: 0.9731 MB / 0.5724 GB, free: 8.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.3386, allocations: 37.7 kB / 0.5725 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.3388, allocations: 277 kB / 0.5727 GB, free: 8.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.339, allocations: 142.8 kB / 0.5729 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3391, allocations: 90.08 kB / 0.573 GB, free: 8.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.3393, allocations: 322 kB / 0.5733 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.3396, allocations: 116.8 kB / 0.5734 GB, free: 7.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3399, allocations: 195 kB / 0.5736 GB, free: 7.426 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.3405, allocations: 323.1 kB / 0.5739 GB, free: 7.086 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3405, allocations: 7.938 kB / 0.5739 GB, free: 7.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008242/0.3413, allocations: 453.2 kB / 0.5743 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3413, allocations: 7.938 kB / 0.5743 GB, free: 6.621 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.3413, allocations: 4 kB / 0.5743 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3414, allocations: 4 kB / 0.5743 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.3416, allocations: 91.88 kB / 0.5744 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.3417, allocations: 7.938 kB / 0.5744 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3418, allocations: 28.05 kB / 0.5744 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.3419, allocations: 15.94 kB / 0.5745 GB, free: 6.473 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.0003059/0.3422, allocations: 252.1 kB / 0.5747 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3423, allocations: 79.48 kB / 0.5748 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3434, allocations: 0.5422 MB / 0.5753 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.423e-06/0.3434, allocations: 4 kB / 0.5753 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3434, allocations: 3.938 kB / 0.5753 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.3434, allocations: 7.984 kB / 0.5753 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.3453, allocations: 1.31 MB / 0.5766 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.3453, allocations: 4 kB / 0.5766 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.3455, allocations: 67.91 kB / 0.5767 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.3455, allocations: 4.375 kB / 0.5767 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.3455, allocations: 16.23 kB / 0.5767 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.3455, allocations: 11.94 kB / 0.5767 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.3455, allocations: 7.938 kB / 0.5767 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3466, allocations: 0.8357 MB / 0.5775 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.3468, allocations: 111.4 kB / 0.5776 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.499e-05/0.3469, allocations: 12 kB / 0.5776 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.3472, allocations: 19.98 kB / 0.5777 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3473, allocations: 47.81 kB / 0.5777 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/0.3474, allocations: 27.98 kB / 0.5777 GB, free: 2.969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008179/0.3482, allocations: 0.7138 MB / 0.5784 GB, free: 2.262 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3482, allocations: 0 / 0.5784 GB, free: 2.262 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005399/0.3487, allocations: 95.92 kB / 0.5785 GB, free: 2.168 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 (48): * Single equations (assignments): 40 * 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.00338/0.3521, allocations: 1.842 MB / 0.5803 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006886/0.3528, allocations: 314.7 kB / 0.5806 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3528, allocations: 0 / 0.5806 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.3531, allocations: 160.2 kB / 0.5808 GB, free: 64 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009867/0.3541, allocations: 140.2 kB / 0.5809 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006813/0.3609, allocations: 5.195 MB / 0.586 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.3613, allocations: 319.4 kB / 0.5863 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00022/0.3615, allocations: 75.25 kB / 0.5864 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.3618, allocations: 215.3 kB / 0.5866 GB, free: 9.938 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3618, allocations: 0 / 0.5866 GB, free: 9.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.3974, allocations: 12.41 MB / 0.5987 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.88, allocations: 17.38 kB / 0.5987 GB, free: 13.63 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.955785701982677] 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'] 13.102883692947216 13.127694125 12.794025294 Calling exit ...