Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001876/0.001876, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002135/0.002135, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.535/1.535, 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.2214/0.2214, allocations: 44.91 MB / 358.8 MB, free: 6.309 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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.002022/0.002022, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 65.47 MB / 0.557 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.004104/0.3276, allocations: 1.632 MB / 0.5586 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3289, allocations: 0.5543 MB / 0.5592 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.3289, allocations: 0 / 0.5592 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.3293, allocations: 107.7 kB / 0.5593 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.3296, allocations: 123.6 kB / 0.5594 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.3299, allocations: 95.69 kB / 0.5595 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.33, allocations: 91.73 kB / 0.5596 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.3301, allocations: 9.828 kB / 0.5596 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.3302, allocations: 43.89 kB / 0.5596 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3304, allocations: 75.78 kB / 0.5597 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3304, allocations: 7.938 kB / 0.5597 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3305, allocations: 43.98 kB / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.3305, allocations: 27.86 kB / 0.5598 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.354e-05/0.3306, allocations: 39.67 kB / 0.5598 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.3308, allocations: 119.4 kB / 0.5599 GB, free: 4.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3308, allocations: 4 kB / 0.5599 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3308, allocations: 3.938 kB / 0.5599 GB, free: 4.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3308, allocations: 0 / 0.5599 GB, free: 4.715 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006275/0.3315, allocations: 353.5 kB / 0.5603 GB, free: 4.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3315, allocations: 12.03 kB / 0.5603 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.3316, allocations: 30.75 kB / 0.5603 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.3316, allocations: 8.891 kB / 0.5603 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.3319, allocations: 159.1 kB / 0.5605 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3319, allocations: 8.312 kB / 0.5605 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.3319, allocations: 4.375 kB / 0.5605 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3321, allocations: 53.62 kB / 0.5605 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3321, allocations: 7.938 kB / 0.5606 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3321, allocations: 4 kB / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3321, allocations: 0 / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3322, allocations: 23.98 kB / 0.5606 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.3327, allocations: 271.8 kB / 0.5608 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.3328, allocations: 38.56 kB / 0.5609 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.3329, allocations: 20.94 kB / 0.5609 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3329, allocations: 0 / 0.5609 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3329, allocations: 34.56 kB / 0.5609 GB, free: 3.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.3329, allocations: 8 kB / 0.5609 GB, free: 3.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000913/0.3339, allocations: 229.2 kB / 0.5612 GB, free: 3.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3339, allocations: 59.33 kB / 0.5612 GB, free: 3.262 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.3341, allocations: 258.8 kB / 0.5615 GB, free: 2.996 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3342, allocations: 33.7 kB / 0.5615 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.3342, allocations: 108.1 kB / 0.5616 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.3343, allocations: 31.73 kB / 0.5616 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.3343, allocations: 17.72 kB / 0.5616 GB, free: 2.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3345, allocations: 330.8 kB / 0.562 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.3345, allocations: 19.98 kB / 0.562 GB, free: 2.441 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.3346, allocations: 27.97 kB / 0.562 GB, free: 2.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3348, allocations: 60.83 kB / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.3348, allocations: 0 / 0.5621 GB, free: 2.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000207/0.335, allocations: 105.8 kB / 0.5622 GB, free: 2.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.335, allocations: 8 kB / 0.5622 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.335, allocations: 0 / 0.5622 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/0.335, allocations: 3.938 kB / 0.5622 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.3351, allocations: 16.41 kB / 0.5622 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3351, allocations: 12 kB / 0.5622 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.3352, allocations: 15.92 kB / 0.5622 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3352, allocations: 4 kB / 0.5622 GB, free: 2.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001016/0.3353, allocations: 125.8 kB / 0.5623 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3353, allocations: 19.91 kB / 0.5624 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.3356, allocations: 115 kB / 0.5625 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.3356, allocations: 7.984 kB / 0.5625 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3356, allocations: 7.938 kB / 0.5625 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3356, allocations: 0 / 0.5625 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.3362, allocations: 382.3 kB / 0.5628 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3362, allocations: 0 / 0.5628 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.218e-05/0.3362, allocations: 19.92 kB / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3362, allocations: 0 / 0.5629 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3363, allocations: 8 kB / 0.5629 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3363, allocations: 4.031 kB / 0.5629 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3363, allocations: 0 / 0.5629 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3365, allocations: 208.2 kB / 0.5631 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.3366, allocations: 15.89 kB / 0.5631 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.3366, allocations: 4 kB / 0.5631 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.3366, allocations: 11.92 kB / 0.5631 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3367, allocations: 11.98 kB / 0.5631 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3367, allocations: 4 kB / 0.5631 GB, free: 1.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.3369, allocations: 187.2 kB / 0.5633 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3369, allocations: 0 / 0.5633 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.3371, allocations: 23.94 kB / 0.5633 GB, free: 0.957 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002189/0.3393, allocations: 1.086 MB / 0.5644 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.3396, allocations: 68.02 kB / 0.5644 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3396, allocations: 3.938 kB / 0.5645 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.3396, allocations: 35.83 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.34, allocations: 25.17 kB / 0.5645 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.3421, allocations: 1.761 MB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3425, allocations: 0.7196 MB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.528e-05/0.3425, allocations: 8.656 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.3426, allocations: 39.42 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3426, allocations: 0 / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.3719, allocations: 3.444 MB / 0.5703 GB, free: 9.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.46, allocations: 3.938 kB / 0.5703 GB, free: 9.867 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.67290126199805]