Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001256/0.001256, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001373/0.001373, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.539/1.539, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2388/0.2388, allocations: 44.91 MB / 359.6 MB, free: 6.301 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.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67",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.002163/0.002163, allocations: 56.19 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.422, allocations: 65.49 MB / 0.5579 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004191/0.4262, allocations: 2.376 MB / 0.5602 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.429, allocations: 1.423 MB / 0.5616 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.4292, allocations: 11.88 kB / 0.5616 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.4299, allocations: 287 kB / 0.5619 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007376/0.4306, allocations: 338.6 kB / 0.5622 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.4312, allocations: 223.5 kB / 0.5624 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007501/0.432, allocations: 0.5647 MB / 0.5629 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.4321, allocations: 43.36 kB / 0.563 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.4325, allocations: 258.9 kB / 0.5632 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.4329, allocations: 290.8 kB / 0.5635 GB, free: 2.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.4329, allocations: 27.94 kB / 0.5635 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.4331, allocations: 59.97 kB / 0.5636 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.4332, allocations: 115.5 kB / 0.5637 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.4334, allocations: 182.6 kB / 0.5639 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005529/0.434, allocations: 429.8 kB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.434, allocations: 0 / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.434, allocations: 3.938 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.434, allocations: 0 / 0.5643 GB, free: 1.285 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001271/0.4353, allocations: 0.7401 MB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.4353, allocations: 8.031 kB / 0.565 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.42e-05/0.4353, allocations: 8.188 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.4354, allocations: 46.73 kB / 0.5651 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.4355, allocations: 64.55 kB / 0.5651 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.4363, allocations: 353.1 kB / 0.5655 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.4364, allocations: 16.2 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.4365, allocations: 19.98 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005307/0.437, allocations: 193.8 kB / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.437, allocations: 0 / 0.5657 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.437, allocations: 15.98 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4371, allocations: 7.938 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.4373, allocations: 95.88 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.4387, allocations: 0.8361 MB / 0.5666 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/0.4394, allocations: 273.3 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.4396, allocations: 88.25 kB / 0.567 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.4396, allocations: 15.92 kB / 0.567 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/0.4401, allocations: 227.5 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.4401, allocations: 4 kB / 0.5672 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.002262/0.4424, allocations: 1.042 MB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.4425, allocations: 162.2 kB / 0.5684 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/0.4434, allocations: 0.6475 MB / 0.569 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.4434, allocations: 45.69 kB / 0.569 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.4436, allocations: 233 kB / 0.5693 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.4438, allocations: 134.9 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.4439, allocations: 70.12 kB / 0.5695 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.4441, allocations: 374.8 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.4443, allocations: 96.83 kB / 0.5699 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.4447, allocations: 192.8 kB / 0.5701 GB, free: 10.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.4452, allocations: 296.8 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.4452, allocations: 7.938 kB / 0.5704 GB, free: 10.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007755/0.446, allocations: 401.2 kB / 0.5708 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.446, allocations: 8.156 kB / 0.5708 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.446, allocations: 7.938 kB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.4461, allocations: 4 kB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.4464, allocations: 87.83 kB / 0.5709 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.4464, allocations: 4 kB / 0.5709 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.4466, allocations: 19.98 kB / 0.5709 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.4466, allocations: 16 kB / 0.5709 GB, free: 10.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002524/0.4469, allocations: 220.2 kB / 0.5711 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.447, allocations: 67.58 kB / 0.5712 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/0.4479, allocations: 453.8 kB / 0.5716 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4479, allocations: 4 kB / 0.5716 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4479, allocations: 4 kB / 0.5716 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4479, allocations: 3.984 kB / 0.5716 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.4496, allocations: 1.252 MB / 0.5729 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4496, allocations: 7.938 kB / 0.5729 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.4498, allocations: 43.92 kB / 0.5729 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.4498, allocations: 12.09 kB / 0.5729 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.4498, allocations: 15.98 kB / 0.5729 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.4498, allocations: 4 kB / 0.5729 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4498, allocations: 4 kB / 0.5729 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4508, allocations: 0.8167 MB / 0.5737 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.4509, allocations: 55.55 kB / 0.5738 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-05/0.451, allocations: 16 kB / 0.5738 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/0.4517, allocations: 19.98 kB / 0.5738 GB, free: 7.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.4518, allocations: 36.25 kB / 0.5739 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.4518, allocations: 27.98 kB / 0.5739 GB, free: 6.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005806/0.4524, allocations: 482.8 kB / 0.5743 GB, free: 6.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4524, allocations: 0 / 0.5743 GB, free: 6.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005647/0.453, allocations: 83.94 kB / 0.5744 GB, free: 6.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003171/0.4562, allocations: 1.75 MB / 0.5761 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006993/0.4569, allocations: 275.7 kB / 0.5764 GB, free: 4.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.4569, allocations: 0 / 0.5764 GB, free: 4.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.4572, allocations: 132.4 kB / 0.5765 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4583, allocations: 145 kB / 0.5767 GB, free: 4.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.4647, allocations: 4.533 MB / 0.5811 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.4653, allocations: 0.8589 MB / 0.5819 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.4656, allocations: 88.11 kB / 0.582 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.4659, allocations: 183.4 kB / 0.5822 GB, free: 14.37 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4659, allocations: 4 kB / 0.5822 GB, free: 14.37 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.5032, allocations: 11.32 MB / 0.5932 GB, free: 3.184 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.43, allocations: 14.56 kB / 0.5933 GB, free: 3.176 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --stepSize=0.799361 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.610460009018425] Failed to read output from testmodel.py, exit status != 0: ['time', 't_s.y[1]', 'd_t_s.y', 't_min.y[1]', 'd_t_min.y', 't_h.y[1]', 'd_t_h.y', 't_d.y[1]', 'd_t_d.y', 't_ms.y[1]', 'd_t_ms.y'] 12.65695394697832 12.673085607 12.235772599 Calling exit ...