Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0008122/0.0008122, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008033/0.0008033, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9278/0.9278, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2524/0.2524, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 3.938 kB / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.209e-05, allocations: 2.281 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002471/0.002493, allocations: 1.604 MB / 443.8 MB, free: 20 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1793/0.1818, allocations: 0.5442 MB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.1819, allocations: 2.875 kB / 444.3 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.1823, allocations: 453.6 kB / 444.8 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.1826, allocations: 298.7 kB / 445.1 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1829, allocations: 168.2 kB / 445.2 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1831, allocations: 172.6 kB / 445.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.8e-05/0.1832, allocations: 12.38 kB / 445.4 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.1832, allocations: 122.7 kB / 445.5 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1834, allocations: 239.4 kB / 445.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1834, allocations: 2.75 kB / 445.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.867e-05/0.1835, allocations: 27.95 kB / 445.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.901e-05/0.1836, allocations: 87.28 kB / 445.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.1836, allocations: 33.22 kB / 445.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1838, allocations: 235.9 kB / 446.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1838, allocations: 0 / 446.2 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1838, allocations: 3.938 kB / 446.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1838, allocations: 0 / 446.2 MB, free: 43.05 MB / 410.7 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.0004583/0.1842, allocations: 0.5724 MB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1843, allocations: 10.84 kB / 446.7 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.81e-05/0.1843, allocations: 37.92 kB / 446.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.1844, allocations: 49.45 kB / 446.8 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.1845, allocations: 243.9 kB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1845, allocations: 6.844 kB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.1845, allocations: 384 / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.1846, allocations: 55.27 kB / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1846, allocations: 192 / 447.1 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1846, allocations: 6.75 kB / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1847, allocations: 0 / 447.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.005e-05/0.1847, allocations: 28.8 kB / 447.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.185, allocations: 347.5 kB / 447.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.735e-05/0.1851, allocations: 36.28 kB / 447.5 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.636e-05/0.1851, allocations: 17.52 kB / 447.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1851, allocations: 2.938 kB / 447.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.1851, allocations: 34.5 kB / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.1851, allocations: 0 / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001743/0.1853, allocations: 109.2 kB / 447.7 MB, free: 41.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.1853, allocations: 57.19 kB / 447.7 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.1857, allocations: 0.8708 MB / 448.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.1857, allocations: 28.52 kB / 448.6 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.1858, allocations: 225.2 kB / 448.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.1858, allocations: 11.36 kB / 448.9 MB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.1859, allocations: 12.69 kB / 448.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.1859, allocations: 365.1 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.88e-05/0.1859, allocations: 12.94 kB / 449.3 MB, free: 41.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.1859, allocations: 21.06 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.186, allocations: 30.42 kB / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.186, allocations: 0 / 449.3 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.427e-05/0.1861, allocations: 94.14 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1861, allocations: 2.906 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1861, allocations: 2.656 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1861, allocations: 0 / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.978e-05/0.1861, allocations: 10.22 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1861, allocations: 2.875 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.1862, allocations: 2.812 kB / 449.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.1862, allocations: 2.812 kB / 449.4 MB, free: 41.12 MB / 410.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 (2): * Single equations (assignments): 2 * 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.429e-05/0.1863, allocations: 218.9 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.1863, allocations: 47.41 kB / 449.7 MB, free: 40.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.1864, allocations: 105 kB / 449.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1864, allocations: 2.906 kB / 449.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1864, allocations: 0 / 449.8 MB, free: 40.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1864, allocations: 7.359 kB / 449.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.1866, allocations: 257.9 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1866, allocations: 0 / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.1866, allocations: 10.44 kB / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.1866, allocations: 0 / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1866, allocations: 0 / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1866, allocations: 0 / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1866, allocations: 0 / 450.1 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.281e-05/0.1867, allocations: 199 kB / 450.3 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.1867, allocations: 37.94 kB / 450.3 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1867, allocations: 4.031 kB / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.932e-05/0.1868, allocations: 2.594 kB / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.1868, allocations: 0 / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1868, allocations: 5.906 kB / 450.3 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003053/0.1871, allocations: 0.6593 MB / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1871, allocations: 0 / 451 MB, free: 40.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000165/0.1872, allocations: 21.09 kB / 451 MB, free: 40.25 MB / 410.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 (2): * Single equations (assignments): 2 * 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.0006911/0.1879, allocations: 1 MB / 452 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.887e-05/0.188, allocations: 28.55 kB / 452 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.188, allocations: 0 / 452 MB, free: 39.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.62e-05/0.188, allocations: 19.31 kB / 452 MB, free: 39.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.1883, allocations: 29.33 kB / 452.1 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1901, allocations: 3.182 MB / 455.2 MB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.1902, allocations: 221.3 kB / 455.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.029e-05/0.1902, allocations: 14.44 kB / 455.5 MB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.1903, allocations: 113 kB / 455.6 MB, free: 37.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1903, allocations: 6.969 kB / 455.6 MB, free: 37.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.2078, allocations: 6.458 MB / 462 MB, free: 35.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.286, allocations: 8.672 kB / 462.1 MB, free: 35.93 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.42483296431601]