Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001346/0.001346, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.0015/0.0015, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.519/1.519, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2255/0.2255, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12",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.0028/0.0028, allocations: 72.08 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1795, allocations: 65.43 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003717/0.1832, allocations: 1.599 MB / 0.5533 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1843, allocations: 0.5415 MB / 0.5539 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.1844, allocations: 0 / 0.5539 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1846, allocations: 31.8 kB / 0.5539 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.1849, allocations: 83.67 kB / 0.554 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1852, allocations: 87.69 kB / 0.5541 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1854, allocations: 67.78 kB / 0.5541 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1855, allocations: 15.92 kB / 0.5541 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.827e-05/0.1856, allocations: 19.92 kB / 0.5542 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1857, allocations: 23.86 kB / 0.5542 GB, free: 7.648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1857, allocations: 4 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.1858, allocations: 31.98 kB / 0.5542 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1859, allocations: 15.92 kB / 0.5542 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.1859, allocations: 23.75 kB / 0.5543 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.1861, allocations: 91.64 kB / 0.5543 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1862, allocations: 0 / 0.5543 GB, free: 7.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1862, allocations: 0 / 0.5543 GB, free: 7.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.1862, allocations: 0 / 0.5543 GB, free: 7.484 MB / 414.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.0006046/0.1868, allocations: 394.9 kB / 0.5547 GB, free: 7.051 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1868, allocations: 8.031 kB / 0.5547 GB, free: 7.043 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.1869, allocations: 34.75 kB / 0.5548 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1869, allocations: 12.84 kB / 0.5548 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.1872, allocations: 199.6 kB / 0.555 GB, free: 6.758 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1872, allocations: 4.125 kB / 0.555 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1872, allocations: 11.94 kB / 0.555 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1874, allocations: 41.69 kB / 0.555 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1874, allocations: 4 kB / 0.555 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1874, allocations: 0 / 0.555 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1874, allocations: 4 kB / 0.555 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.657e-05/0.1875, allocations: 23.97 kB / 0.555 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1879, allocations: 276.8 kB / 0.5553 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1882, allocations: 46.5 kB / 0.5554 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.408e-05/0.1882, allocations: 24.88 kB / 0.5554 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1882, allocations: 0 / 0.5554 GB, free: 6.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1883, allocations: 30.56 kB / 0.5554 GB, free: 6.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1883, allocations: 0 / 0.5554 GB, free: 6.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006055/0.1889, allocations: 153.3 kB / 0.5556 GB, free: 6.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.1889, allocations: 55.41 kB / 0.5556 GB, free: 6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1891, allocations: 185.5 kB / 0.5558 GB, free: 5.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1891, allocations: 25.7 kB / 0.5558 GB, free: 5.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.1892, allocations: 96.14 kB / 0.5559 GB, free: 5.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1892, allocations: 15.83 kB / 0.5559 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.1893, allocations: 21.72 kB / 0.5559 GB, free: 5.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.1895, allocations: 318.8 kB / 0.5562 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.1896, allocations: 23.98 kB / 0.5563 GB, free: 5.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.414e-05/0.1896, allocations: 19.98 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.1898, allocations: 44.77 kB / 0.5563 GB, free: 5.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1898, allocations: 0 / 0.5563 GB, free: 5.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001916/0.19, allocations: 81.58 kB / 0.5564 GB, free: 5.137 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.19, allocations: 8 kB / 0.5564 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.19, allocations: 0 / 0.5564 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.19, allocations: 4 kB / 0.5564 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.06e-05/0.1901, allocations: 15.98 kB / 0.5564 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1901, allocations: 3.938 kB / 0.5564 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.1901, allocations: 4 kB / 0.5564 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1902, allocations: 4 kB / 0.5564 GB, free: 5.098 MB / 414.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 0.0001158/0.1903, allocations: 124 kB / 0.5566 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.1903, allocations: 8.234 kB / 0.5566 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.1905, allocations: 93.97 kB / 0.5567 GB, free: 4.863 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1906, allocations: 7.984 kB / 0.5567 GB, free: 4.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1906, allocations: 3.938 kB / 0.5567 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1906, allocations: 0 / 0.5567 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.191, allocations: 342.8 kB / 0.557 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.191, allocations: 0 / 0.557 GB, free: 4.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.1911, allocations: 24.05 kB / 0.557 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1911, allocations: 11.88 kB / 0.557 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1911, allocations: 0 / 0.557 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1911, allocations: 0 / 0.557 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1911, allocations: 0 / 0.557 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1914, allocations: 179.5 kB / 0.5572 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.1915, allocations: 85.02 kB / 0.5573 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.1915, allocations: 3.938 kB / 0.5573 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.497e-05/0.1916, allocations: 8 kB / 0.5573 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.1916, allocations: 11.92 kB / 0.5573 GB, free: 4.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1916, allocations: 3.938 kB / 0.5573 GB, free: 4.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.1917, allocations: 135.2 kB / 0.5574 GB, free: 3.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1917, allocations: 0 / 0.5574 GB, free: 3.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.192, allocations: 12 kB / 0.5574 GB, free: 3.961 MB / 414.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.002045/0.194, allocations: 1.017 MB / 0.5584 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1943, allocations: 47.91 kB / 0.5585 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1943, allocations: 0 / 0.5585 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/0.1943, allocations: 19.98 kB / 0.5585 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1947, allocations: 31.67 kB / 0.5585 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.1968, allocations: 1.493 MB / 0.56 GB, free: 1.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1972, allocations: 0.7041 MB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.292e-05/0.1973, allocations: 8.062 kB / 0.5607 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.1973, allocations: 31.42 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1973, allocations: 0 / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.2236, allocations: 2.672 MB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.379, allocations: 4 kB / 0.5633 GB, free: 14.01 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.630124161951244]