Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.00173/0.00173, 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.002147/0.002147, allocations: 212.2 kB / 24.52 MB, free: 4.074 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.536/1.536, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2363/0.2363, allocations: 44.91 MB / 359.6 MB, free: 6.262 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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9",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.00319/0.00319, allocations: 67.91 kB / 0.4939 GB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4274, allocations: 65.47 MB / 0.5579 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003886/0.4313, allocations: 1.745 MB / 0.5596 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.4334, allocations: 1.049 MB / 0.5606 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.4335, allocations: 3.938 kB / 0.5606 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.4339, allocations: 79.77 kB / 0.5607 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.4342, allocations: 119.5 kB / 0.5608 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.4344, allocations: 83.66 kB / 0.5609 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.4346, allocations: 111.8 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.4347, allocations: 17.88 kB / 0.561 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.4348, allocations: 47.78 kB / 0.561 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.4349, allocations: 75.67 kB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.435, allocations: 8 kB / 0.5611 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.4351, allocations: 43.98 kB / 0.5611 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.4351, allocations: 23.91 kB / 0.5612 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.4352, allocations: 35.69 kB / 0.5612 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.4354, allocations: 123.5 kB / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4354, allocations: 0 / 0.5613 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4354, allocations: 4 kB / 0.5613 GB, free: 4.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.4354, allocations: 3.938 kB / 0.5613 GB, free: 4.16 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.0006281/0.4361, allocations: 353.5 kB / 0.5617 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4361, allocations: 12.03 kB / 0.5617 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.309e-05/0.4361, allocations: 192 / 0.5617 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.4362, allocations: 38.75 kB / 0.5617 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.4362, allocations: 12.84 kB / 0.5617 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.4366, allocations: 158.8 kB / 0.5619 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.4366, allocations: 16.11 kB / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.4366, allocations: 0 / 0.5619 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.4368, allocations: 57.61 kB / 0.562 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4368, allocations: 4 kB / 0.562 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4368, allocations: 4 kB / 0.562 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4368, allocations: 0 / 0.562 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.4369, allocations: 19.98 kB / 0.562 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.4373, allocations: 256 kB / 0.5622 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.4375, allocations: 62.61 kB / 0.5623 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.4376, allocations: 20.86 kB / 0.5623 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.4376, allocations: 3.984 kB / 0.5623 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.4378, allocations: 67.39 kB / 0.5624 GB, free: 2.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4378, allocations: 0 / 0.5624 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000567/0.4384, allocations: 181.5 kB / 0.5625 GB, free: 2.777 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.4384, allocations: 55.34 kB / 0.5626 GB, free: 2.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002696/0.4387, allocations: 235.4 kB / 0.5628 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.4387, allocations: 29.7 kB / 0.5628 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.126e-05/0.4388, allocations: 108.1 kB / 0.563 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.4388, allocations: 23.78 kB / 0.563 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.4389, allocations: 21.72 kB / 0.563 GB, free: 2.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.439, allocations: 326.8 kB / 0.5633 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/0.4391, allocations: 19.98 kB / 0.5633 GB, free: 1.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.507e-05/0.4392, allocations: 45.58 kB / 0.5634 GB, free: 1.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.4393, allocations: 57.72 kB / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4393, allocations: 0 / 0.5634 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002469/0.4395, allocations: 101.5 kB / 0.5635 GB, free: 1.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4396, allocations: 8 kB / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4396, allocations: 0 / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4396, allocations: 0 / 0.5635 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.4397, allocations: 15.98 kB / 0.5635 GB, free: 1.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4397, allocations: 11.97 kB / 0.5636 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.4397, allocations: 4 kB / 0.5636 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4397, allocations: 4 kB / 0.5636 GB, free: 1.656 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.0001239/0.4399, allocations: 137.8 kB / 0.5637 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.4399, allocations: 11.91 kB / 0.5637 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.4402, allocations: 115 kB / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4402, allocations: 0 / 0.5638 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4402, allocations: 3.938 kB / 0.5638 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4402, allocations: 4 kB / 0.5638 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.4407, allocations: 370.4 kB / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4407, allocations: 0 / 0.5642 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.4407, allocations: 11.98 kB / 0.5642 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4407, allocations: 3.938 kB / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.4407, allocations: 0 / 0.5642 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4407, allocations: 4.312 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4407, allocations: 0 / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.441, allocations: 212.2 kB / 0.5644 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.441, allocations: 15.83 kB / 0.5644 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.4411, allocations: 3.984 kB / 0.5644 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.4411, allocations: 4 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.4412, allocations: 11.98 kB / 0.5644 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.4412, allocations: 4 kB / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4414, allocations: 173.1 kB / 0.5646 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4414, allocations: 0 / 0.5646 GB, free: 0.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003012/0.4417, allocations: 31.88 kB / 0.5646 GB, free: 480 kB / 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.00244/0.4441, allocations: 1.09 MB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.4444, allocations: 59.89 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4444, allocations: 0 / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.947e-05/0.4444, allocations: 24 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.4449, allocations: 34.08 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.4473, allocations: 1.724 MB / 0.5675 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.4477, allocations: 0.708 MB / 0.5682 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.38e-05/0.4478, allocations: 16.97 kB / 0.5682 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.812e-05/0.4478, allocations: 39.42 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4478, allocations: 0 / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.4726, allocations: 3.778 MB / 0.5719 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.67, allocations: 2.75 kB / 0.5719 GB, free: 9.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.971163407026324] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.897041705029551 11.915712044 11.477242777 Calling exit ...