Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001843/0.001843, allocations: 112.2 kB / 21.22 MB, free: 0.7422 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.002246/0.002246, allocations: 209.2 kB / 24.53 MB, free: 4.133 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2444/0.2444, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.002127/0.002127, allocations: 63.91 kB / 0.4939 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4089, allocations: 65.47 MB / 0.5579 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003399/0.4123, allocations: 1.735 MB / 0.5596 GB, free: 6.008 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.4144, allocations: 1.045 MB / 0.5606 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.635e-05/0.4145, allocations: 7.875 kB / 0.5606 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003633/0.4148, allocations: 51.77 kB / 0.5606 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.4152, allocations: 95.59 kB / 0.5607 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.4155, allocations: 83.66 kB / 0.5608 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.4157, allocations: 99.7 kB / 0.5609 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.4158, allocations: 11.78 kB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.4159, allocations: 51.72 kB / 0.561 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.416, allocations: 31.84 kB / 0.561 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.4161, allocations: 4 kB / 0.561 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.4162, allocations: 43.97 kB / 0.561 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.4162, allocations: 27.86 kB / 0.5611 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.507e-05/0.4163, allocations: 31.75 kB / 0.5611 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.4166, allocations: 125.5 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4166, allocations: 0 / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4166, allocations: 0 / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4166, allocations: 0 / 0.5612 GB, free: 4.309 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.0006474/0.4172, allocations: 349.5 kB / 0.5616 GB, free: 3.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.4173, allocations: 12.03 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.4173, allocations: 192 / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.4173, allocations: 42.73 kB / 0.5616 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.4174, allocations: 16.83 kB / 0.5616 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.4177, allocations: 158.2 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.4177, allocations: 4.125 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.4178, allocations: 8 kB / 0.5618 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4179, allocations: 53.67 kB / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.418, allocations: 0 / 0.5618 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.418, allocations: 4 kB / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.418, allocations: 0 / 0.5618 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.4181, allocations: 23.98 kB / 0.5619 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.4185, allocations: 263.9 kB / 0.5621 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4187, allocations: 54.67 kB / 0.5622 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.4188, allocations: 20.84 kB / 0.5622 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.4188, allocations: 4 kB / 0.5622 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.419, allocations: 67.39 kB / 0.5623 GB, free: 3.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.419, allocations: 3.938 kB / 0.5623 GB, free: 3.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005908/0.4196, allocations: 177.3 kB / 0.5624 GB, free: 2.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.4196, allocations: 55.41 kB / 0.5625 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.4199, allocations: 222.6 kB / 0.5627 GB, free: 2.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.4199, allocations: 29.7 kB / 0.5627 GB, free: 2.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.42, allocations: 104.1 kB / 0.5628 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.42, allocations: 27.78 kB / 0.5628 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.4201, allocations: 25.72 kB / 0.5629 GB, free: 2.434 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4202, allocations: 326.8 kB / 0.5632 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.4203, allocations: 23.98 kB / 0.5632 GB, free: 2.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.4204, allocations: 33.7 kB / 0.5632 GB, free: 2.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4205, allocations: 57.8 kB / 0.5633 GB, free: 1.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4205, allocations: 3.938 kB / 0.5633 GB, free: 1.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.4207, allocations: 109.5 kB / 0.5634 GB, free: 1.863 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4207, allocations: 8 kB / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4207, allocations: 0 / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4207, allocations: 0 / 0.5634 GB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.4208, allocations: 19.92 kB / 0.5634 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4209, allocations: 7.938 kB / 0.5634 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.4209, allocations: 0 / 0.5634 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4209, allocations: 11.97 kB / 0.5634 GB, free: 1.816 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.0001234/0.421, allocations: 125.8 kB / 0.5636 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.4211, allocations: 15.91 kB / 0.5636 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.4213, allocations: 115 kB / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4213, allocations: 0 / 0.5637 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4213, allocations: 7.938 kB / 0.5637 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.4213, allocations: 384 / 0.5637 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004694/0.4218, allocations: 366.4 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4218, allocations: 4 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.4218, allocations: 8 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.4218, allocations: 7.922 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4219, allocations: 4 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4219, allocations: 0 / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4219, allocations: 3.984 kB / 0.5641 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.4221, allocations: 204.3 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.4221, allocations: 11.89 kB / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.4222, allocations: 0 / 0.5643 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.4222, allocations: 15.92 kB / 0.5643 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.4223, allocations: 4 kB / 0.5643 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.4223, allocations: 7.984 kB / 0.5643 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.4225, allocations: 152.3 kB / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4225, allocations: 0 / 0.5645 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.4227, allocations: 27.94 kB / 0.5645 GB, free: 0.6641 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.002308/0.425, allocations: 1.1 MB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.4252, allocations: 51.92 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4252, allocations: 0 / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.853e-05/0.4253, allocations: 27.92 kB / 0.5656 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.0004036/0.4257, allocations: 36.05 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.4279, allocations: 1.686 MB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.4284, allocations: 0.7119 MB / 0.568 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.804e-05/0.4284, allocations: 24.88 kB / 0.568 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.498e-05/0.4285, allocations: 35.42 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4285, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.4529, allocations: 3.717 MB / 0.5717 GB, free: 9.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.62, allocations: 10.03 kB / 0.5717 GB, free: 9.387 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.789737375976983] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.833286981040146 11.860677402 11.439150984 Calling exit ...