Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001725/0.001725, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00189/0.00189, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.248/0.248, allocations: 44.92 MB / 358.8 MB, free: 6.305 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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",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.002083/0.002083, allocations: 75.81 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4252, allocations: 65.46 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003556/0.4288, allocations: 1.746 MB / 0.5588 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.4308, allocations: 1.052 MB / 0.5598 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.4308, allocations: 4 kB / 0.5598 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.4312, allocations: 47.77 kB / 0.5599 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.4315, allocations: 99.53 kB / 0.56 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.4317, allocations: 87.59 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.4319, allocations: 99.7 kB / 0.5601 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.432, allocations: 13.81 kB / 0.5602 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.4321, allocations: 47.78 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.4322, allocations: 39.78 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.4322, allocations: 4 kB / 0.5602 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.4324, allocations: 39.98 kB / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.4324, allocations: 23.91 kB / 0.5603 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.4325, allocations: 43.62 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.4328, allocations: 127.4 kB / 0.5605 GB, free: 4.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4328, allocations: 4 kB / 0.5605 GB, free: 4.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4328, allocations: 0 / 0.5605 GB, free: 4.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.4328, allocations: 4 kB / 0.5605 GB, free: 4.293 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.0007206/0.4335, allocations: 361.4 kB / 0.5608 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4336, allocations: 12.03 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.4336, allocations: 30.75 kB / 0.5609 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.4336, allocations: 8.891 kB / 0.5609 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.434, allocations: 171 kB / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.434, allocations: 384 / 0.561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.4341, allocations: 7.938 kB / 0.561 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4342, allocations: 57.67 kB / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4342, allocations: 0 / 0.5611 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4343, allocations: 3.938 kB / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4343, allocations: 0 / 0.5611 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.4343, allocations: 19.98 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.4348, allocations: 267.9 kB / 0.5614 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.4349, allocations: 58.61 kB / 0.5614 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.435, allocations: 16.86 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.435, allocations: 7.984 kB / 0.5615 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.4352, allocations: 67.39 kB / 0.5615 GB, free: 3.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4352, allocations: 0 / 0.5615 GB, free: 3.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005639/0.4358, allocations: 185.3 kB / 0.5617 GB, free: 2.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.4358, allocations: 59.39 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.4361, allocations: 238.9 kB / 0.562 GB, free: 2.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.4361, allocations: 29.7 kB / 0.562 GB, free: 2.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.4362, allocations: 112.1 kB / 0.5621 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4362, allocations: 23.8 kB / 0.5621 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.4363, allocations: 33.64 kB / 0.5622 GB, free: 2.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4364, allocations: 322.8 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.4365, allocations: 20 kB / 0.5625 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.4365, allocations: 41.64 kB / 0.5625 GB, free: 1.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.4367, allocations: 53.7 kB / 0.5626 GB, free: 1.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4367, allocations: 4 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.4369, allocations: 109.6 kB / 0.5627 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4369, allocations: 8 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4369, allocations: 80 / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.4369, allocations: 4.031 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.437, allocations: 12 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.437, allocations: 11.92 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.437, allocations: 7.922 kB / 0.5627 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.437, allocations: 8 kB / 0.5627 GB, free: 1.754 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.0001182/0.4372, allocations: 125.8 kB / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.4372, allocations: 11.91 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.4374, allocations: 115.1 kB / 0.563 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4374, allocations: 4 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4374, allocations: 0 / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4374, allocations: 7.938 kB / 0.563 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.438, allocations: 366.3 kB / 0.5633 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.438, allocations: 0 / 0.5633 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.438, allocations: 19.92 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.438, allocations: 3.938 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.438, allocations: 4 kB / 0.5634 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.438, allocations: 32 / 0.5634 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.438, allocations: 4.375 kB / 0.5634 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.4384, allocations: 204.3 kB / 0.5636 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.4384, allocations: 11.91 kB / 0.5636 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.4384, allocations: 7.922 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.4385, allocations: 8 kB / 0.5636 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.4385, allocations: 11.98 kB / 0.5636 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.4385, allocations: 7.938 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.4387, allocations: 171.2 kB / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4387, allocations: 0 / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.439, allocations: 27.92 kB / 0.5638 GB, free: 0.5703 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.002263/0.4412, allocations: 1.094 MB / 0.5649 GB, free: 15.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.4414, allocations: 55.91 kB / 0.5649 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4414, allocations: 4.062 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.4415, allocations: 27.92 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.4418, allocations: 36.02 kB / 0.565 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.4439, allocations: 1.746 MB / 0.5667 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4443, allocations: 0.7158 MB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.4443, allocations: 17.28 kB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.4444, allocations: 43.41 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4444, allocations: 0 / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.4736, allocations: 3.801 MB / 0.5712 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.48, allocations: 3.938 kB / 0.5712 GB, free: 9.137 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.786001387998112]