Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001399/0.001399, allocations: 109.1 kB / 21.22 MB, free: 0.5078 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.001503/0.001503, allocations: 214.1 kB / 24.51 MB, free: 3.684 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2515/0.2515, allocations: 46.97 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.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 0.4969 GB, free: 7.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3848, allocations: 66.03 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004528/0.3894, allocations: 1.706 MB / 0.5631 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.3918, allocations: 0.974 MB / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.3919, allocations: 0 / 0.564 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004489/0.3923, allocations: 47.77 kB / 0.5641 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.3928, allocations: 103.5 kB / 0.5642 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.393, allocations: 79.67 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.3933, allocations: 107.7 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3934, allocations: 9.766 kB / 0.5644 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3935, allocations: 39.8 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3936, allocations: 43.77 kB / 0.5644 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3936, allocations: 4 kB / 0.5645 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3937, allocations: 47.92 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.3938, allocations: 19.92 kB / 0.5645 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.3939, allocations: 27.8 kB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.3942, allocations: 127.4 kB / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3942, allocations: 0 / 0.5647 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.791e-06/0.3942, allocations: 7.984 kB / 0.5647 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3942, allocations: 0 / 0.5647 GB, free: 0.8594 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.000748/0.3949, allocations: 349.5 kB / 0.565 GB, free: 500 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.395, allocations: 8.031 kB / 0.565 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.877e-05/0.395, allocations: 4.125 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.698e-05/0.3951, allocations: 38.75 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.3951, allocations: 8.891 kB / 0.5651 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.3955, allocations: 154.3 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3955, allocations: 4.125 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.3955, allocations: 4 kB / 0.5652 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3957, allocations: 53.67 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3957, allocations: 0 / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3957, allocations: 0 / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.3957, allocations: 4 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.3958, allocations: 31.91 kB / 0.5653 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.3963, allocations: 263.9 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3965, allocations: 54.67 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.3966, allocations: 16.86 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3966, allocations: 0 / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.3968, allocations: 79.31 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3968, allocations: 0 / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006096/0.3974, allocations: 185.3 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.3974, allocations: 59.34 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3976, allocations: 226.6 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.3977, allocations: 29.7 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3977, allocations: 104.1 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3978, allocations: 23.84 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.3978, allocations: 21.72 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.398, allocations: 326.8 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.3981, allocations: 19.98 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.855e-05/0.3981, allocations: 37.64 kB / 0.5667 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3983, allocations: 69.62 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3983, allocations: 4 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002171/0.3985, allocations: 105.6 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3985, allocations: 8 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3985, allocations: 0 / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3985, allocations: 0 / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3986, allocations: 15.94 kB / 0.5669 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3986, allocations: 7.938 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3987, allocations: 7.922 kB / 0.5669 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.3987, allocations: 4 kB / 0.5669 GB, free: 14.37 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.0001426/0.3989, allocations: 125.9 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.3989, allocations: 19.89 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.3992, allocations: 119 kB / 0.5672 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3992, allocations: 4 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3992, allocations: 3.938 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.3992, allocations: 0 / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.3998, allocations: 370.4 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3998, allocations: 0 / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.3998, allocations: 8 kB / 0.5675 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3998, allocations: 7.969 kB / 0.5675 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3998, allocations: 7.984 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3998, allocations: 4.172 kB / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3998, allocations: 0 / 0.5675 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.4001, allocations: 220.2 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.4001, allocations: 11.89 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.4002, allocations: 12.34 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.307e-05/0.4002, allocations: 4.375 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.4003, allocations: 15.92 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4003, allocations: 4 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.4005, allocations: 164.3 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4005, allocations: 3.938 kB / 0.568 GB, free: 13.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.4007, allocations: 20 kB / 0.568 GB, free: 13.17 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.002402/0.4031, allocations: 1.139 MB / 0.5691 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.4033, allocations: 55.91 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4033, allocations: 0 / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.4034, allocations: 35.92 kB / 0.5692 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.4038, allocations: 19.98 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4059, allocations: 1.705 MB / 0.5709 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.4061, allocations: 96.73 kB / 0.571 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.729e-05/0.4061, allocations: 20.88 kB / 0.571 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.643e-05/0.4062, allocations: 43.36 kB / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4062, allocations: 0 / 0.571 GB, free: 10.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.4304, allocations: 3.856 MB / 0.5748 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.97, allocations: 15.5 kB / 0.5748 GB, free: 6.348 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.035228635068052] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.190243564080447 12.211380893 11.813904300999999 Calling exit ...