Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001374/0.001374, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001499/0.001499, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2171/0.2171, allocations: 44.91 MB / 358.8 MB, free: 6.266 MB / 286.1 MB " [Timeout remaining time 180] 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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.002027/0.002027, allocations: 63.91 kB / 0.4932 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 65.47 MB / 0.5571 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00307/0.312, allocations: 1.741 MB / 0.5588 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3137, allocations: 1.045 MB / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.3138, allocations: 0 / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.314, allocations: 59.75 kB / 0.5599 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.3143, allocations: 111.5 kB / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.3145, allocations: 67.75 kB / 0.56 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3147, allocations: 111.7 kB / 0.5601 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.278e-05/0.3148, allocations: 5.828 kB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.849e-05/0.3149, allocations: 51.66 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.3149, allocations: 39.84 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.315, allocations: 4 kB / 0.5602 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.315, allocations: 39.98 kB / 0.5603 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.3151, allocations: 35.78 kB / 0.5603 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.966e-05/0.3152, allocations: 43.67 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.3154, allocations: 139.4 kB / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3154, allocations: 0 / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3154, allocations: 0 / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3154, allocations: 0 / 0.5605 GB, free: 4.211 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.0005434/0.3159, allocations: 377.2 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.316, allocations: 12.03 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.316, allocations: 38.73 kB / 0.5609 GB, free: 3.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.316, allocations: 12.84 kB / 0.5609 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3163, allocations: 163.2 kB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3163, allocations: 8.375 kB / 0.5611 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3164, allocations: 3.938 kB / 0.5611 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3165, allocations: 57.67 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3165, allocations: 0 / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.3165, allocations: 0 / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.3165, allocations: 8 kB / 0.5611 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.3166, allocations: 15.98 kB / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.3169, allocations: 275.8 kB / 0.5614 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3171, allocations: 54.67 kB / 0.5615 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.3172, allocations: 16.86 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.3172, allocations: 4 kB / 0.5615 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.3174, allocations: 71.31 kB / 0.5616 GB, free: 2.977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3174, allocations: 0 / 0.5616 GB, free: 2.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005555/0.3179, allocations: 177.4 kB / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.318, allocations: 55.34 kB / 0.5618 GB, free: 2.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3183, allocations: 283.7 kB / 0.5621 GB, free: 2.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3183, allocations: 29.7 kB / 0.5621 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.3184, allocations: 120.1 kB / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.3184, allocations: 23.8 kB / 0.5622 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.3184, allocations: 25.7 kB / 0.5622 GB, free: 2.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3186, allocations: 326.8 kB / 0.5626 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.3186, allocations: 19.98 kB / 0.5626 GB, free: 1.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.3187, allocations: 41.64 kB / 0.5626 GB, free: 1.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3188, allocations: 61.66 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3188, allocations: 0 / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000193/0.319, allocations: 105.5 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.319, allocations: 8 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.319, allocations: 3.938 kB / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3191, allocations: 0 / 0.5628 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.3191, allocations: 19.92 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3192, allocations: 0 / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.3192, allocations: 19.95 kB / 0.5628 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.3192, allocations: 4.156 kB / 0.5628 GB, free: 1.605 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.0001214/0.3193, allocations: 140.6 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.3194, allocations: 11.91 kB / 0.563 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.3196, allocations: 127 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3196, allocations: 4 kB / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3196, allocations: 384 / 0.5631 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3196, allocations: 3.938 kB / 0.5631 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.3201, allocations: 374.4 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3201, allocations: 4 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.3201, allocations: 8 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.3201, allocations: 7.922 kB / 0.5635 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3201, allocations: 8 kB / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3201, allocations: 0 / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3201, allocations: 0 / 0.5635 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3204, allocations: 204.3 kB / 0.5637 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.3204, allocations: 19.84 kB / 0.5637 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3204, allocations: 3.938 kB / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.3205, allocations: 7.984 kB / 0.5637 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.3205, allocations: 4 kB / 0.5637 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.3205, allocations: 4 kB / 0.5637 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.3207, allocations: 204.6 kB / 0.5639 GB, free: 408 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3207, allocations: 4 kB / 0.5639 GB, free: 404 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.321, allocations: 23.94 kB / 0.5639 GB, free: 380 kB / 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.002147/0.3231, allocations: 1.108 MB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.3233, allocations: 55.95 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3233, allocations: 0 / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.3234, allocations: 31.92 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.3237, allocations: 33.78 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.3258, allocations: 1.82 MB / 0.5669 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.3262, allocations: 0.7119 MB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.3262, allocations: 16.97 kB / 0.5676 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.3263, allocations: 43.42 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3263, allocations: 0 / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.3566, allocations: 3.984 MB / 0.5716 GB, free: 8.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.45, allocations: 6.75 kB / 0.5716 GB, free: 8.68 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_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_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.498522716996376]