Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.0008908/0.0008908, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001164/0.001164, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8708/0.8708, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1477/0.1477, allocations: 32.36 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.201e-05, allocations: 2.281 kB / 406.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00246/0.002482, allocations: 1.599 MB / 408.4 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.00313, allocations: 347.3 kB / 408.8 MB, free: 280 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.003198, allocations: 4 kB / 408.8 MB, free: 276 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.003743, allocations: 455 kB / 409.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.004168, allocations: 259.4 kB / 409.5 MB, free: 15.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.004592, allocations: 151.6 kB / 409.6 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.004854, allocations: 163.7 kB / 409.8 MB, free: 15.26 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.004974, allocations: 12.17 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.005122, allocations: 123.8 kB / 409.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.005387, allocations: 239.5 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.005409, allocations: 7.984 kB / 410.2 MB, free: 14.89 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.695e-05/0.005496, allocations: 28 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.005604, allocations: 91.58 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.005652, allocations: 35.75 kB / 410.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.005972, allocations: 243.1 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005974, allocations: 4 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.005975, allocations: 4 kB / 410.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.005981, allocations: 0 / 410.6 MB, free: 14.49 MB / 394.7 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.0006353/0.006616, allocations: 0.5776 MB / 411.1 MB, free: 13.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.006658, allocations: 8.031 kB / 411.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.006693, allocations: 30.75 kB / 411.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.098e-05/0.006754, allocations: 52.55 kB / 411.2 MB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.007016, allocations: 242.1 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.00703, allocations: 4.375 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.007051, allocations: 4.375 kB / 411.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.007208, allocations: 58.23 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.00722, allocations: 3.938 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.00723, allocations: 4 kB / 411.5 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.007235, allocations: 0 / 411.5 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.00732, allocations: 27.92 kB / 411.6 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.007842, allocations: 363.8 kB / 411.9 MB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.008061, allocations: 46.56 kB / 412 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.358e-05/0.008105, allocations: 16.88 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.008136, allocations: 8 kB / 412 MB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.008161, allocations: 34.56 kB / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.008162, allocations: 0 / 412 MB, free: 12.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006224/0.008785, allocations: 248.6 kB / 412.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.008824, allocations: 51.41 kB / 412.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007853/0.00961, allocations: 0.8614 MB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.009623, allocations: 29.7 kB / 413.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.009781, allocations: 220.1 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.009809, allocations: 27.78 kB / 413.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.009844, allocations: 13.72 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.00998, allocations: 366.7 kB / 413.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.01004, allocations: 23.97 kB / 413.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.282e-05/0.0101, allocations: 19.98 kB / 413.9 MB, free: 11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.01021, allocations: 52.83 kB / 413.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01021, allocations: 0 / 413.9 MB, free: 10.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002059/0.01042, allocations: 129.3 kB / 414 MB, free: 10.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.01043, allocations: 4 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01044, allocations: 4 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.01045, allocations: 0 / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.01051, allocations: 8 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01052, allocations: 0 / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.01058, allocations: 11.92 kB / 414.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.01058, allocations: 7.938 kB / 414.1 MB, free: 10.77 MB / 394.7 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 0.0001887/0.01077, allocations: 217.7 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.01083, allocations: 47.72 kB / 414.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.01109, allocations: 141.2 kB / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.0111, allocations: 0 / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.0111, allocations: 0 / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.01111, allocations: 0 / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.01171, allocations: 437.8 kB / 414.9 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01171, allocations: 0 / 414.9 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.01176, allocations: 11.98 kB / 414.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01176, allocations: 8 kB / 414.9 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.01177, allocations: 0 / 414.9 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.01177, allocations: 3.938 kB / 414.9 MB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.01177, allocations: 3.938 kB / 414.9 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.012, allocations: 219.5 kB / 415.1 MB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.01205, allocations: 39.72 kB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.01207, allocations: 7.984 kB / 415.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.593e-05/0.01215, allocations: 7.984 kB / 415.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.01218, allocations: 7.922 kB / 415.2 MB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.01219, allocations: 4 kB / 415.2 MB, free: 9.559 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006464/0.01283, allocations: 0.655 MB / 415.9 MB, free: 8.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01283, allocations: 0 / 415.9 MB, free: 8.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003347/0.01317, allocations: 23.98 kB / 415.9 MB, free: 8.883 MB / 394.7 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.001301/0.01447, allocations: 1.079 MB / 417 MB, free: 7.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01465, allocations: 59.95 kB / 417 MB, free: 7.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01465, allocations: 0 / 417 MB, free: 7.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.01471, allocations: 27.92 kB / 417.1 MB, free: 7.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.01512, allocations: 34.17 kB / 417.1 MB, free: 7.691 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.01801, allocations: 3.246 MB / 420.3 MB, free: 4.344 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.01815, allocations: 220.1 kB / 420.6 MB, free: 4.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.0182, allocations: 15.98 kB / 420.6 MB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.01829, allocations: 112.4 kB / 420.7 MB, free: 3.98 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01829, allocations: 0 / 420.7 MB, free: 3.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.03563, allocations: 6.72 MB / 427.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.067, allocations: 11.89 kB / 427.4 MB, free: 13.11 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.2540896628052]