Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008101/0.0008101, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008671/0.0008671, allocations: 174 kB / 23.95 MB, free: 0.6055 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.92/0.92, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2672/0.2672, allocations: 32.79 MB / 293.5 MB, free: 1.234 MB / 266.7 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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 3.938 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.291e-05, allocations: 8.328 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.00182/0.001833, allocations: 1.607 MB / 441.2 MB, free: 2.613 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006315/0.002465, allocations: 0.5491 MB / 441.8 MB, free: 2.059 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.002517, allocations: 3.938 kB / 441.8 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.002932, allocations: 455 kB / 442.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006113/0.003543, allocations: 291.2 kB / 442.5 MB, free: 1.324 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.003853, allocations: 172.3 kB / 442.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.004046, allocations: 167.6 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.004136, allocations: 11.98 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.57e-05/0.004232, allocations: 119.8 kB / 442.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.004412, allocations: 239.6 kB / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.004426, allocations: 0 / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.004482, allocations: 27.92 kB / 443.2 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.004561, allocations: 87.66 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.004597, allocations: 35.75 kB / 443.3 MB, free: 496 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.0048, allocations: 239.1 kB / 443.6 MB, free: 256 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.004801, allocations: 0 / 443.6 MB, free: 256 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004802, allocations: 0 / 443.6 MB, free: 256 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004806, allocations: 0 / 443.6 MB, free: 256 kB / 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.1801/0.1849, allocations: 0.5737 MB / 444.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.185, allocations: 8.844 kB / 444.1 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.185, allocations: 35.22 kB / 444.2 MB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1851, allocations: 47.45 kB / 444.2 MB, free: 46.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1852, allocations: 251.7 kB / 444.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1852, allocations: 5.625 kB / 444.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.1852, allocations: 1 kB / 444.5 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.1854, allocations: 48.25 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1854, allocations: 0.75 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.1854, allocations: 3.531 kB / 444.5 MB, free: 46.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1854, allocations: 5.562 kB / 444.5 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.1854, allocations: 26.91 kB / 444.6 MB, free: 46.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.1858, allocations: 349.7 kB / 444.9 MB, free: 46.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.932e-05/0.1858, allocations: 33.86 kB / 444.9 MB, free: 46.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.1859, allocations: 26.88 kB / 445 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.1859, allocations: 0 / 445 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.1859, allocations: 33.56 kB / 445 MB, free: 46.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.1859, allocations: 0.5625 kB / 445 MB, free: 46.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001816/0.1861, allocations: 108.7 kB / 445.1 MB, free: 45.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.1861, allocations: 59.38 kB / 445.2 MB, free: 45.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.1865, allocations: 0.8749 MB / 446 MB, free: 45.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/0.1866, allocations: 25.7 kB / 446.1 MB, free: 45.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.398e-05/0.1866, allocations: 226 kB / 446.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.404e-05/0.1867, allocations: 13.19 kB / 446.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.1867, allocations: 12.53 kB / 446.3 MB, free: 45.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.1867, allocations: 364.8 kB / 446.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.1868, allocations: 5.875 kB / 446.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.1868, allocations: 10.44 kB / 446.7 MB, free: 45.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.1868, allocations: 30.22 kB / 446.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1868, allocations: 3.375 kB / 446.7 MB, free: 45.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.584e-05/0.1869, allocations: 107.2 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1869, allocations: 5.875 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1869, allocations: 0 / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1869, allocations: 0 / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.354e-05/0.187, allocations: 8.391 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.187, allocations: 0 / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.187, allocations: 5.531 kB / 446.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.187, allocations: 0 / 446.8 MB, free: 45.02 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.591e-05/0.1871, allocations: 214.6 kB / 447 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1871, allocations: 47 kB / 447.1 MB, free: 44.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1873, allocations: 110.7 kB / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1873, allocations: 0 / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1873, allocations: 0 / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1873, allocations: 5.984 kB / 447.2 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1874, allocations: 263.7 kB / 447.5 MB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1874, allocations: 7.594 kB / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.1874, allocations: 5.312 kB / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.1874, allocations: 0 / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.1875, allocations: 0 / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1875, allocations: 0 / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1875, allocations: 3.188 kB / 447.5 MB, free: 44.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.032e-05/0.1875, allocations: 188 kB / 447.7 MB, free: 44.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1876, allocations: 39.69 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1876, allocations: 5.688 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.1876, allocations: 5.797 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.1876, allocations: 3.938 kB / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.1876, allocations: 0 / 447.7 MB, free: 44.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003204/0.1879, allocations: 0.6611 MB / 448.4 MB, free: 44.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1879, allocations: 0 / 448.4 MB, free: 44.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.1881, allocations: 19.8 kB / 448.4 MB, free: 44.16 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.0007402/0.1889, allocations: 0.9907 MB / 449.4 MB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.035e-05/0.189, allocations: 31.38 kB / 449.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.189, allocations: 3.938 kB / 449.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.189, allocations: 12.02 kB / 449.4 MB, free: 43.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1893, allocations: 30.81 kB / 449.5 MB, free: 43.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.1912, allocations: 3.193 MB / 452.7 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.1913, allocations: 218.4 kB / 452.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.1914, allocations: 12.52 kB / 452.9 MB, free: 41.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.1915, allocations: 116.4 kB / 453 MB, free: 41.49 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1915, allocations: 0 / 453 MB, free: 41.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.2084, allocations: 6.474 MB / 459.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.409, allocations: 6.562 kB / 459.5 MB, free: 39.85 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.512506571598351]