Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001346/0.001346, 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.001419/0.001419, allocations: 218 kB / 24.52 MB, free: 3.91 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.734 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.2378/0.2378, allocations: 46.96 MB / 361.7 MB, free: 4.047 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.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 59.91 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4085, allocations: 66.03 MB / 0.5614 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003746/0.4122, allocations: 1.709 MB / 0.5631 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.4141, allocations: 0.9754 MB / 0.564 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.355e-05/0.4142, allocations: 0 / 0.564 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.4145, allocations: 55.73 kB / 0.5641 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004183/0.4149, allocations: 103.6 kB / 0.5642 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002147/0.4152, allocations: 83.66 kB / 0.5643 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.4154, allocations: 103.6 kB / 0.5644 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.4155, allocations: 13.75 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.855e-05/0.4156, allocations: 43.78 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.4157, allocations: 35.8 kB / 0.5645 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4157, allocations: 4 kB / 0.5645 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.4158, allocations: 39.98 kB / 0.5645 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.4159, allocations: 35.89 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.4159, allocations: 35.75 kB / 0.5646 GB, free: 1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.4162, allocations: 139.3 kB / 0.5647 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4162, allocations: 0 / 0.5647 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.4162, allocations: 0 / 0.5647 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.884e-06/0.4162, allocations: 0 / 0.5647 GB, free: 0.8633 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.0007387/0.417, allocations: 381.3 kB / 0.5651 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.417, allocations: 8.031 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.453e-05/0.417, allocations: 4.188 kB / 0.5651 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.4171, allocations: 30.75 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.4171, allocations: 16.84 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.4175, allocations: 159.3 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.4175, allocations: 4.125 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4175, allocations: 7.938 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.4177, allocations: 57.66 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4177, allocations: 0 / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.4178, allocations: 4 kB / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4178, allocations: 0 / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.876e-05/0.4179, allocations: 23.98 kB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.4184, allocations: 271.9 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.4186, allocations: 62.61 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.654e-05/0.4187, allocations: 20.84 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.4187, allocations: 0 / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.4189, allocations: 71.39 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.4189, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006957/0.4196, allocations: 193.2 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.4196, allocations: 55.41 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.42, allocations: 282.7 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.42, allocations: 29.7 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.4201, allocations: 120.1 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.4201, allocations: 23.78 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.4202, allocations: 25.72 kB / 0.5665 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4204, allocations: 326.8 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.4204, allocations: 23.92 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.4205, allocations: 41.64 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.4206, allocations: 57.7 kB / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4206, allocations: 0 / 0.5669 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002369/0.4209, allocations: 125.5 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4209, allocations: 4 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4209, allocations: 0 / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4209, allocations: 0 / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.421, allocations: 16 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.421, allocations: 7.922 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.4211, allocations: 4 kB / 0.5671 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.4211, allocations: 0 / 0.5671 GB, free: 14.24 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.000148/0.4212, allocations: 137.8 kB / 0.5672 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.4213, allocations: 19.89 kB / 0.5672 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.4216, allocations: 131.2 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4216, allocations: 0 / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.4216, allocations: 3.938 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4216, allocations: 3.984 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006193/0.4222, allocations: 382.4 kB / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4222, allocations: 0 / 0.5677 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.4223, allocations: 8 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4223, allocations: 3.938 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.4223, allocations: 7.984 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4223, allocations: 4.031 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4223, allocations: 0 / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.4227, allocations: 216.2 kB / 0.5679 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.003e-05/0.4227, allocations: 19.84 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.4227, allocations: 4.359 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.4228, allocations: 12.31 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.4228, allocations: 7.984 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4229, allocations: 4 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.4231, allocations: 204.6 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4231, allocations: 3.938 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000291/0.4234, allocations: 39.88 kB / 0.5682 GB, free: 12.96 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.002523/0.4259, allocations: 1.133 MB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.4261, allocations: 51.98 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4261, allocations: 3.938 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.4262, allocations: 31.98 kB / 0.5694 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.4267, allocations: 38.69 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.4291, allocations: 1.846 MB / 0.5712 GB, free: 9.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.4293, allocations: 109.2 kB / 0.5713 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.241e-05/0.4293, allocations: 21.27 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.4294, allocations: 47.36 kB / 0.5714 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4294, allocations: 0 / 0.5714 GB, free: 9.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4545, allocations: 4.136 MB / 0.5754 GB, free: 5.711 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.91, allocations: 7.438 kB / 0.5755 GB, free: 5.707 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.000108340056613] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.127954706083983 12.145960598 11.726083563 Calling exit ...