Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001477/0.001477, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2377/0.2377, allocations: 46.92 MB / 357.7 MB, free: 10.22 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002178/0.002178, allocations: 83.81 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1977, allocations: 66.04 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005816/0.2036, allocations: 2.04 MB / 0.5582 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.2065, allocations: 1.126 MB / 0.5593 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.2067, allocations: 7.938 kB / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.2072, allocations: 43.7 kB / 0.5594 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.2077, allocations: 115.4 kB / 0.5595 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.2081, allocations: 103.6 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000412/0.2085, allocations: 215.3 kB / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.2087, allocations: 21.67 kB / 0.5598 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.2089, allocations: 79.69 kB / 0.5599 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.2091, allocations: 83.55 kB / 0.56 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.2091, allocations: 16 kB / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.2092, allocations: 51.98 kB / 0.56 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.2093, allocations: 39.83 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.2095, allocations: 71.55 kB / 0.5601 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.2099, allocations: 207.1 kB / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.2099, allocations: 0 / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2099, allocations: 0 / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.2099, allocations: 0 / 0.5603 GB, free: 1.289 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001323/0.2113, allocations: 0.5718 MB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.2113, allocations: 8.031 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.372e-05/0.2114, allocations: 38.75 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.2115, allocations: 16.84 kB / 0.5609 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.212, allocations: 251.9 kB / 0.5612 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.212, allocations: 8.375 kB / 0.5612 GB, free: 300 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.2121, allocations: 8.375 kB / 0.5612 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005607/0.2126, allocations: 156.3 kB / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2126, allocations: 0 / 0.5614 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.2127, allocations: 8 kB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2127, allocations: 7.875 kB / 0.5614 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.2133, allocations: 111.9 kB / 0.5615 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009297/0.2142, allocations: 0.5515 MB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.2152, allocations: 154.6 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003602/0.2155, allocations: 76.72 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.2155, allocations: 3.938 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005206/0.2161, allocations: 135.3 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.863e-06/0.2161, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.001244/0.2173, allocations: 253.4 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.2174, allocations: 59.34 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003585/0.2177, allocations: 240.8 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.2178, allocations: 29.7 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2179, allocations: 132.4 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.218, allocations: 31.75 kB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.2181, allocations: 37.7 kB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.2183, allocations: 330.8 kB / 0.5634 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.2186, allocations: 63.94 kB / 0.5635 GB, free: 13.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.2191, allocations: 109.9 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.2198, allocations: 193.8 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2198, allocations: 4 kB / 0.5638 GB, free: 13.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009573/0.2208, allocations: 258.5 kB / 0.564 GB, free: 13.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.2208, allocations: 33.7 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2208, allocations: 3.984 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.2208, allocations: 4.125 kB / 0.5641 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.2211, allocations: 35.97 kB / 0.5641 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.2211, allocations: 7.875 kB / 0.5641 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.2214, allocations: 35.86 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.2214, allocations: 4 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001906/0.2216, allocations: 141.8 kB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2217, allocations: 15.91 kB / 0.5643 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.724e-05/0.2218, allocations: 29.39 kB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2218, allocations: 0 / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2218, allocations: 3.938 kB / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2218, allocations: 0 / 0.5643 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.2221, allocations: 241.4 kB / 0.5646 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2221, allocations: 0 / 0.5646 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.2224, allocations: 35.84 kB / 0.5646 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2224, allocations: 0 / 0.5646 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.2224, allocations: 4 kB / 0.5646 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2224, allocations: 0 / 0.5646 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.2224, allocations: 7.938 kB / 0.5646 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.2237, allocations: 293.3 kB / 0.5649 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.2238, allocations: 97.06 kB / 0.565 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.2238, allocations: 8 kB / 0.565 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.224, allocations: 23.97 kB / 0.565 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.2241, allocations: 23.91 kB / 0.565 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.2241, allocations: 0 / 0.565 GB, free: 12.05 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.2244, allocations: 181.5 kB / 0.5652 GB, free: 11.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2244, allocations: 3.938 kB / 0.5652 GB, free: 11.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003799/0.2247, allocations: 39.94 kB / 0.5652 GB, free: 11.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003398/0.2281, allocations: 1.138 MB / 0.5664 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008764/0.229, allocations: 207.2 kB / 0.5666 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.229, allocations: 0 / 0.5666 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.2294, allocations: 76.12 kB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.2299, allocations: 59.22 kB / 0.5667 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.2345, allocations: 2.186 MB / 0.5688 GB, free: 8.168 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.2349, allocations: 0.728 MB / 0.5695 GB, free: 7.414 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.864e-05/0.235, allocations: 21.53 kB / 0.5696 GB, free: 7.395 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.2351, allocations: 55.42 kB / 0.5696 GB, free: 7.34 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2351, allocations: 0 / 0.5696 GB, free: 7.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03693/0.272, allocations: 5.053 MB / 0.5745 GB, free: 2.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.321, allocations: 7.859 kB / 0.5745 GB, free: 2.352 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.517750191967934] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.45485421596095 8.4754209 8.262236088 Calling exit ...