Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001288/0.001288, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.00142/0.00142, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 44.92 MB / 359.6 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002973/0.002973, allocations: 63.91 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4437, allocations: 65.47 MB / 0.5579 GB, free: 7.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004093/0.4477, allocations: 1.749 MB / 0.5596 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.4499, allocations: 1.049 MB / 0.5606 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.4499, allocations: 3.938 kB / 0.5606 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.4503, allocations: 83.7 kB / 0.5607 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.4507, allocations: 115.6 kB / 0.5608 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.451, allocations: 83.66 kB / 0.5609 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.4512, allocations: 115.6 kB / 0.561 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4513, allocations: 10.23 kB / 0.561 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.4515, allocations: 59.77 kB / 0.561 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.4516, allocations: 67.73 kB / 0.5611 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.4516, allocations: 4 kB / 0.5611 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.4517, allocations: 43.98 kB / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/0.4518, allocations: 19.92 kB / 0.5612 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.4519, allocations: 47.61 kB / 0.5612 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.4521, allocations: 119.5 kB / 0.5613 GB, free: 4.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4521, allocations: 0 / 0.5613 GB, free: 4.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4521, allocations: 0 / 0.5613 GB, free: 4.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4521, allocations: 0 / 0.5613 GB, free: 4.359 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.0006726/0.4528, allocations: 361.4 kB / 0.5617 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.4529, allocations: 12.03 kB / 0.5617 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.83e-05/0.4529, allocations: 192 / 0.5617 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.4529, allocations: 34.75 kB / 0.5617 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.453, allocations: 16.84 kB / 0.5617 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.4534, allocations: 166.7 kB / 0.5619 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4534, allocations: 4.125 kB / 0.5619 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4534, allocations: 4 kB / 0.5619 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.4536, allocations: 57.67 kB / 0.5619 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4536, allocations: 0 / 0.5619 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.4536, allocations: 3.984 kB / 0.562 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4536, allocations: 0 / 0.562 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.4537, allocations: 19.98 kB / 0.562 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.4541, allocations: 267.9 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.4543, allocations: 54.62 kB / 0.5623 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.4543, allocations: 20.84 kB / 0.5623 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.4544, allocations: 0 / 0.5623 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.4545, allocations: 67.39 kB / 0.5624 GB, free: 3.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.4545, allocations: 0 / 0.5624 GB, free: 3.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00065/0.4552, allocations: 173.6 kB / 0.5625 GB, free: 2.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.4553, allocations: 59.41 kB / 0.5626 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.4555, allocations: 227.4 kB / 0.5628 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4555, allocations: 29.7 kB / 0.5628 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.435e-05/0.4556, allocations: 108.1 kB / 0.5629 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4557, allocations: 27.78 kB / 0.563 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.4557, allocations: 33.58 kB / 0.563 GB, free: 2.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.4559, allocations: 326.8 kB / 0.5633 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.456, allocations: 19.98 kB / 0.5633 GB, free: 2.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.759e-05/0.4561, allocations: 33.84 kB / 0.5634 GB, free: 2.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.4562, allocations: 61.7 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4562, allocations: 0 / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002068/0.4564, allocations: 105.5 kB / 0.5635 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4564, allocations: 4 kB / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4564, allocations: 0 / 0.5635 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4564, allocations: 8.031 kB / 0.5635 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.4565, allocations: 16 kB / 0.5635 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4566, allocations: 7.875 kB / 0.5636 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.4566, allocations: 7.984 kB / 0.5636 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4566, allocations: 0 / 0.5636 GB, free: 1.852 MB / 398.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.0001387/0.4567, allocations: 137.8 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.4568, allocations: 15.91 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.4571, allocations: 111.2 kB / 0.5638 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4571, allocations: 4 kB / 0.5638 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4571, allocations: 7.938 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.4571, allocations: 0 / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.4576, allocations: 366.4 kB / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4576, allocations: 0 / 0.5642 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.4576, allocations: 15.92 kB / 0.5642 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4576, allocations: 3.938 kB / 0.5642 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.4577, allocations: 4.188 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4577, allocations: 4.031 kB / 0.5642 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4577, allocations: 3.938 kB / 0.5642 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.4579, allocations: 204.3 kB / 0.5644 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.458, allocations: 11.89 kB / 0.5644 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.458, allocations: 4 kB / 0.5644 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.4581, allocations: 7.984 kB / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.4581, allocations: 11.94 kB / 0.5644 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.4581, allocations: 7.984 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.4583, allocations: 173.1 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4583, allocations: 0 / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002942/0.4586, allocations: 27.89 kB / 0.5646 GB, free: 0.6602 MB / 398.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 (8): * Single equations (assignments): 6 * 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.002339/0.4609, allocations: 1.088 MB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.4611, allocations: 55.91 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.4611, allocations: 4.062 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.103e-05/0.4612, allocations: 35.91 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.4616, allocations: 37.48 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.4638, allocations: 1.719 MB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.4642, allocations: 0.708 MB / 0.5682 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.267e-05/0.4642, allocations: 20.91 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.4643, allocations: 39.42 kB / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/0.4643, allocations: 0 / 0.5682 GB, free: 13.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.4871, allocations: 3.768 MB / 0.5719 GB, free: 9.316 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.44, allocations: 12.06 kB / 0.5719 GB, free: 9.305 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.636689440056216] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.65903379599331 11.680943093 11.224405368 Calling exit ...