Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.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.001885/0.001885, 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.001575/0.001575, 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.511/1.511, allocations: 230.5 MB / 258.2 MB, free: 7.973 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.2214/0.2214, allocations: 46.93 MB / 361.6 MB, free: 4.16 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.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53",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.002391/0.002391, allocations: 83.86 kB / 0.497 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3143, allocations: 66.09 MB / 0.5616 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003179/0.3175, allocations: 1.737 MB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3193, allocations: 1.049 MB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.3193, allocations: 11.94 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3196, allocations: 47.75 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.3199, allocations: 95.55 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3202, allocations: 83.66 kB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.3203, allocations: 95.77 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.3204, allocations: 13.94 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.3205, allocations: 55.73 kB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.3206, allocations: 35.78 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3207, allocations: 4 kB / 0.5647 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3208, allocations: 43.97 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.3208, allocations: 19.92 kB / 0.5648 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.3209, allocations: 39.69 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3211, allocations: 131.4 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3211, allocations: 4 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3211, allocations: 0 / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3211, allocations: 0 / 0.565 GB, free: 0.793 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.0005427/0.3216, allocations: 369.3 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3217, allocations: 12.03 kB / 0.5653 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.3217, allocations: 30.75 kB / 0.5653 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.3218, allocations: 8.891 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.322, allocations: 159.1 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.322, allocations: 4.359 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3221, allocations: 8.312 kB / 0.5655 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3222, allocations: 57.8 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3222, allocations: 4 kB / 0.5656 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3222, allocations: 4 kB / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3222, allocations: 0 / 0.5656 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.3223, allocations: 23.92 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.3227, allocations: 267.9 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3229, allocations: 54.67 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.3229, allocations: 20.86 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.323, allocations: 4 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.3231, allocations: 67.31 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3231, allocations: 0 / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005631/0.3237, allocations: 181.3 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.3237, allocations: 51.41 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.324, allocations: 239 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.324, allocations: 33.69 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.3241, allocations: 112.1 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.3241, allocations: 27.72 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3242, allocations: 25.72 kB / 0.5666 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3244, allocations: 330.8 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.3244, allocations: 20 kB / 0.567 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.867e-05/0.3245, allocations: 37.7 kB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.3247, allocations: 61.64 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3247, allocations: 4 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001842/0.3249, allocations: 101.5 kB / 0.5672 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3249, allocations: 11.98 kB / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3249, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3249, allocations: 0 / 0.5672 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.325, allocations: 16.03 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.325, allocations: 4 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.325, allocations: 4 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3251, allocations: 7.984 kB / 0.5672 GB, free: 14.27 MB / 414.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.0001519/0.3252, allocations: 130.6 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3252, allocations: 15.91 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.3255, allocations: 119.1 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3255, allocations: 0 / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3255, allocations: 7.938 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3255, allocations: 7.984 kB / 0.5675 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.326, allocations: 370.7 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.326, allocations: 0 / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.326, allocations: 12 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.326, allocations: 3.984 kB / 0.5678 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.326, allocations: 4 kB / 0.5679 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.326, allocations: 3.938 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.326, allocations: 0 / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3263, allocations: 212.3 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.3263, allocations: 11.91 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.3263, allocations: 0 / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.3264, allocations: 11.92 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.3264, allocations: 4 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3264, allocations: 7.984 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.3266, allocations: 175.2 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 0 / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.3268, allocations: 28.11 kB / 0.5683 GB, free: 13.07 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: 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.00216/0.329, allocations: 1.088 MB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.3293, allocations: 59.84 kB / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3293, allocations: 0 / 0.5694 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.3293, allocations: 24.28 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3297, allocations: 39.8 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.3317, allocations: 1.75 MB / 0.5712 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.3321, allocations: 0.7158 MB / 0.5719 GB, free: 9.414 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.3321, allocations: 16.97 kB / 0.5719 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.3322, allocations: 39.42 kB / 0.5719 GB, free: 9.359 MB / 414.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3322, allocations: 3.938 kB / 0.5719 GB, free: 9.355 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.3617, allocations: 3.69 MB / 0.5755 GB, free: 5.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.424, allocations: 4 kB / 0.5755 GB, free: 5.676 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.508825634140521] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.563640081323683 8.579163743 8.254980202 Calling exit ...