Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 109.8 kB / 21.1 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 191.8 kB / 24.36 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 253.1 MB, free: 13.06 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.2441/0.2441, allocations: 44.91 MB / 353.2 MB, free: 11.84 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003202/0.003202, allocations: 67.89 kB / 496.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.382, allocations: 64.29 MB / 0.548 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003175/0.3852, allocations: 1.588 MB / 0.5495 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3871, allocations: 1.123 MB / 0.5506 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.3871, allocations: 4.969 kB / 0.5506 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.3874, allocations: 24.34 kB / 0.5506 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.3877, allocations: 48.67 kB / 0.5507 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.388, allocations: 109 kB / 0.5508 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.3882, allocations: 63.62 kB / 0.5508 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3883, allocations: 11.42 kB / 0.5509 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.3883, allocations: 28.91 kB / 0.5509 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3884, allocations: 19.83 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3884, allocations: 3.562 kB / 0.5509 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3885, allocations: 48.64 kB / 0.5509 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.3886, allocations: 11.02 kB / 0.551 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.3886, allocations: 27.48 kB / 0.551 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.3889, allocations: 88.34 kB / 0.5511 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3889, allocations: 0 / 0.5511 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3889, allocations: 4 kB / 0.5511 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.3889, allocations: 1 kB / 0.5511 GB, free: 10.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000517/0.3894, allocations: 302.5 kB / 0.5514 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3894, allocations: 14.78 kB / 0.5514 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.3895, allocations: 31.66 kB / 0.5514 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3895, allocations: 8.172 kB / 0.5514 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.3897, allocations: 126.8 kB / 0.5515 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3897, allocations: 4.375 kB / 0.5515 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.3897, allocations: 11.25 kB / 0.5516 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3899, allocations: 93.41 kB / 0.5516 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3899, allocations: 3.953 kB / 0.5516 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3899, allocations: 1.281 kB / 0.5516 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3899, allocations: 0 / 0.5516 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.39, allocations: 21.83 kB / 0.5517 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.3904, allocations: 254.1 kB / 0.5519 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3907, allocations: 47.83 kB / 0.552 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.034e-05/0.3907, allocations: 11.61 kB / 0.552 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3907, allocations: 0 / 0.552 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3908, allocations: 40.05 kB / 0.552 GB, free: 9.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3908, allocations: 0 / 0.552 GB, free: 9.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005843/0.3914, allocations: 140.8 kB / 0.5521 GB, free: 9.426 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.3914, allocations: 82.52 kB / 0.5522 GB, free: 9.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3916, allocations: 131 kB / 0.5523 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3916, allocations: 31.05 kB / 0.5524 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.828e-05/0.3916, allocations: 98.78 kB / 0.5525 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.3917, allocations: 14.47 kB / 0.5525 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.3917, allocations: 14 kB / 0.5525 GB, free: 9.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.3919, allocations: 328.4 kB / 0.5528 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.392, allocations: 24.08 kB / 0.5528 GB, free: 8.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.3921, allocations: 61.12 kB / 0.5529 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.3922, allocations: 55.69 kB / 0.5529 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3922, allocations: 0 / 0.5529 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.3924, allocations: 86.28 kB / 0.553 GB, free: 8.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3924, allocations: 5.469 kB / 0.553 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3924, allocations: 3.984 kB / 0.553 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3924, allocations: 1.438 kB / 0.553 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.3925, allocations: 12.83 kB / 0.553 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3925, allocations: 1.438 kB / 0.553 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.3925, allocations: 10.86 kB / 0.5531 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.3926, allocations: 9.281 kB / 0.5531 GB, free: 8.539 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 (5): * Single equations (assignments): 5 * 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 9.147e-05/0.3926, allocations: 122.3 kB / 0.5532 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.3927, allocations: 10.86 kB / 0.5532 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3929, allocations: 91.45 kB / 0.5533 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3929, allocations: 1.125 kB / 0.5533 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3929, allocations: 5.047 kB / 0.5533 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3929, allocations: 0 / 0.5533 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.3934, allocations: 336.1 kB / 0.5536 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3934, allocations: 1.219 kB / 0.5536 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.3935, allocations: 9.062 kB / 0.5536 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3935, allocations: 1.031 kB / 0.5536 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3935, allocations: 0 / 0.5536 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3935, allocations: 5.094 kB / 0.5536 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3935, allocations: 0 / 0.5536 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.3937, allocations: 186.8 kB / 0.5538 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.059e-05/0.3937, allocations: 5.203 kB / 0.5538 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3938, allocations: 9.203 kB / 0.5538 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.3938, allocations: 7.344 kB / 0.5538 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.3939, allocations: 6.141 kB / 0.5538 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3939, allocations: 1.25 kB / 0.5538 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.883e-05/0.394, allocations: 101.6 kB / 0.5539 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.394, allocations: 4.906 kB / 0.5539 GB, free: 7.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3942, allocations: 22.94 kB / 0.5539 GB, free: 7.719 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.002151/0.3964, allocations: 1.057 MB / 0.555 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.3967, allocations: 57.2 kB / 0.555 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3967, allocations: 1.094 kB / 0.555 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.503e-05/0.3968, allocations: 23.95 kB / 0.5551 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.3972, allocations: 25.08 kB / 0.5551 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3993, allocations: 1.414 MB / 0.5565 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.3998, allocations: 0.693 MB / 0.5571 GB, free: 4.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.967e-05/0.3999, allocations: 17.05 kB / 0.5572 GB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.3999, allocations: 25.73 kB / 0.5572 GB, free: 4.809 MB / 398.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3999, allocations: 4 kB / 0.5572 GB, free: 4.805 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.4321, allocations: 2.927 MB / 0.56 GB, free: 2.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.41, allocations: 6.25 kB / 0.5601 GB, free: 2.914 MB / 398.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.503322403179482]