Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001388/0.001388, 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.001484/0.001484, allocations: 214.1 kB / 24.52 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.615/1.615, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.2639/0.2639, allocations: 46.95 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.89 kB / 0.4969 GB, free: 7.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3733, allocations: 66.03 MB / 0.5614 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003698/0.377, allocations: 1.667 MB / 0.563 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3789, allocations: 0.9481 MB / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.379, allocations: 0 / 0.564 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003462/0.3793, allocations: 71.72 kB / 0.564 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.3797, allocations: 103.6 kB / 0.5641 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3799, allocations: 71.69 kB / 0.5642 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.3801, allocations: 111.6 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.3801, allocations: 4.234 kB / 0.5643 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.156e-05/0.3802, allocations: 47.78 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3803, allocations: 51.81 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3803, allocations: 4 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.3804, allocations: 35.98 kB / 0.5645 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.3805, allocations: 19.91 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.3805, allocations: 23.81 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.3808, allocations: 117.3 kB / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3808, allocations: 0 / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3808, allocations: 0 / 0.5646 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3808, allocations: 0 / 0.5646 GB, free: 0.9062 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005743/0.3814, allocations: 333.6 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3814, allocations: 12.03 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.582e-05/0.3814, allocations: 192 / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.3815, allocations: 34.73 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.3815, allocations: 24.78 kB / 0.565 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.3818, allocations: 143.1 kB / 0.5651 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3818, allocations: 8.125 kB / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3818, allocations: 0 / 0.5651 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.382, allocations: 53.61 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.382, allocations: 0 / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.382, allocations: 0 / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.382, allocations: 0 / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.3821, allocations: 19.92 kB / 0.5652 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.3823, allocations: 152.7 kB / 0.5654 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3825, allocations: 62.55 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.3826, allocations: 12.86 kB / 0.5654 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3826, allocations: 4 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3828, allocations: 75.3 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3828, allocations: 0 / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.3831, allocations: 97.62 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3831, allocations: 51.41 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3833, allocations: 194.3 kB / 0.5658 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3834, allocations: 37.7 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3834, allocations: 100.1 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.3835, allocations: 15.84 kB / 0.566 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.3835, allocations: 29.64 kB / 0.566 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3836, allocations: 322.8 kB / 0.5663 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.331e-05/0.3837, allocations: 12 kB / 0.5663 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.117e-05/0.3838, allocations: 29.95 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.3839, allocations: 53.64 kB / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3839, allocations: 0 / 0.5664 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001709/0.384, allocations: 93.52 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3841, allocations: 4 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3841, allocations: 4 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3841, allocations: 0 / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.684e-05/0.3842, allocations: 8 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3842, allocations: 0 / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.839e-05/0.3842, allocations: 7.984 kB / 0.5665 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.3842, allocations: 4 kB / 0.5665 GB, free: 14.74 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 (7): * Single equations (assignments): 7 * 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.0001139/0.3843, allocations: 137.6 kB / 0.5666 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.3844, allocations: 11.98 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.3846, allocations: 94.75 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3846, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3846, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3846, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.3848, allocations: 164.6 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3848, allocations: 0 / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.3848, allocations: 4 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3848, allocations: 0 / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3848, allocations: 0 / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3848, allocations: 4 kB / 0.5669 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3848, allocations: 4 kB / 0.5669 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.385, allocations: 129.1 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.385, allocations: 11.91 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3851, allocations: 3.938 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.166e-05/0.3851, allocations: 7.984 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.3851, allocations: 0 / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.3852, allocations: 8 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.3853, allocations: 152.2 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3853, allocations: 0 / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.3856, allocations: 19.92 kB / 0.5672 GB, free: 13.92 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: 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 (6): * Single equations (assignments): 4 * 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.002047/0.3876, allocations: 0.9875 MB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.3878, allocations: 43.92 kB / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3878, allocations: 0 / 0.5682 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.483e-05/0.3879, allocations: 23.92 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3882, allocations: 37.78 kB / 0.5683 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.3902, allocations: 1.518 MB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.3903, allocations: 89.3 kB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.3904, allocations: 16.42 kB / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.3905, allocations: 35.42 kB / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3905, allocations: 0 / 0.5699 GB, free: 11.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.4162, allocations: 3.503 MB / 0.5733 GB, free: 7.801 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.56, allocations: 2.578 kB / 0.5733 GB, free: 7.801 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.010206826031208] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.815089775016531 11.832728386 11.448416196 Calling exit ...