Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.001256/0.001256, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001362/0.001362, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 8 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.2256/0.2256, allocations: 46.94 MB / 361.6 MB, free: 4.188 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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",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.002379/0.002379, allocations: 79.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3381, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00339/0.3415, allocations: 1.834 MB / 0.5634 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.3436, allocations: 1.123 MB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.3437, allocations: 7.938 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005969/0.3443, allocations: 307.3 kB / 0.5648 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.3448, allocations: 259.2 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.3451, allocations: 107.7 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.3454, allocations: 267.2 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.114e-05/0.3455, allocations: 5.812 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.3457, allocations: 143.5 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.346, allocations: 215.5 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.346, allocations: 8 kB / 0.5657 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3461, allocations: 56.02 kB / 0.5658 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.3463, allocations: 131.6 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.3464, allocations: 158.7 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.3469, allocations: 376.2 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3469, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3469, allocations: 0 / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.3469, allocations: 0 / 0.5664 GB, free: 15.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001006/0.3479, allocations: 0.6941 MB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.348, allocations: 8.031 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.348, allocations: 34.75 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.228e-05/0.3481, allocations: 52.61 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.3488, allocations: 410.4 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3488, allocations: 384 / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.3488, allocations: 4.375 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.349, allocations: 91.48 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.349, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.349, allocations: 0 / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.349, allocations: 4 kB / 0.5677 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3491, allocations: 31.92 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.3496, allocations: 361.4 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.3499, allocations: 105.2 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.35, allocations: 33.7 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.35, allocations: 0 / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3502, allocations: 120.9 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3502, allocations: 7.938 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005211/0.3508, allocations: 193.3 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.3508, allocations: 81.05 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.3521, allocations: 1.058 MB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.3521, allocations: 29.7 kB / 0.5696 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.3523, allocations: 236.1 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.3523, allocations: 23.81 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.3524, allocations: 33.7 kB / 0.5699 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3526, allocations: 370.8 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.3527, allocations: 31.98 kB / 0.5703 GB, free: 11.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.3528, allocations: 59.41 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.353, allocations: 83.36 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.353, allocations: 0 / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003103/0.3533, allocations: 181.7 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3533, allocations: 7.938 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.3533, allocations: 4 kB / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3533, allocations: 0 / 0.5706 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3535, allocations: 27.98 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3535, allocations: 4 kB / 0.5706 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.3536, allocations: 12 kB / 0.5706 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3536, allocations: 8 kB / 0.5706 GB, free: 10.69 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002292/0.3538, allocations: 219.5 kB / 0.5709 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.3539, allocations: 59.56 kB / 0.5709 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.3543, allocations: 197.8 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3543, allocations: 0 / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3543, allocations: 4 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3543, allocations: 4 kB / 0.5711 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.3546, allocations: 320.5 kB / 0.5714 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.3546, allocations: 3.938 kB / 0.5714 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.3547, allocations: 15.94 kB / 0.5714 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3547, allocations: 3.984 kB / 0.5714 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3547, allocations: 4 kB / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3547, allocations: 0 / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3547, allocations: 0 / 0.5714 GB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.3551, allocations: 221.5 kB / 0.5717 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3552, allocations: 67.53 kB / 0.5717 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.3552, allocations: 8 kB / 0.5717 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.3553, allocations: 7.984 kB / 0.5717 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.3554, allocations: 11.92 kB / 0.5717 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3554, allocations: 11.94 kB / 0.5718 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000909/0.3563, allocations: 0.78 MB / 0.5725 GB, free: 8.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3563, allocations: 4 kB / 0.5725 GB, free: 8.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.3566, allocations: 44 kB / 0.5726 GB, free: 8.645 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * 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.002179/0.3588, allocations: 1.049 MB / 0.5736 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.3591, allocations: 87.89 kB / 0.5737 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3591, allocations: 0 / 0.5737 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3592, allocations: 35.98 kB / 0.5737 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.3596, allocations: 73.36 kB / 0.5738 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006192/0.3658, allocations: 4.575 MB / 0.5782 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.3663, allocations: 0.8507 MB / 0.5791 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.3665, allocations: 50.97 kB / 0.5791 GB, free: 1.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.3667, allocations: 151.4 kB / 0.5793 GB, free: 1.758 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3667, allocations: 4 kB / 0.5793 GB, free: 1.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.4028, allocations: 9.304 MB / 0.5884 GB, free: 8.461 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.725/9.127, allocations: 8.062 kB / 0.5884 GB, free: 8.453 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.158415809739381] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.274072280153632 9.298336324 8.948055173 Calling exit ...