Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000836/0.000836, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008838/0.0008838, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8809/0.8809, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 34.23 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.783e-06/6.783e-06, allocations: 0 / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/3.018e-05, allocations: 12.55 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.1772/0.1772, allocations: 1.687 MB / 443.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008245/0.178, allocations: 0.5704 MB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.1781, allocations: 2.875 kB / 444.4 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1783, allocations: 24.03 kB / 444.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002212/0.1785, allocations: 86.08 kB / 444.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1788, allocations: 183.9 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.1789, allocations: 103.7 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.49e-05/0.179, allocations: 16.11 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7e-05/0.1791, allocations: 49.2 kB / 444.9 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.883e-05/0.1791, allocations: 40.5 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1791, allocations: 5.969 kB / 444.9 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.1793, allocations: 92.89 kB / 445 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.1793, allocations: 26.03 kB / 445.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.1793, allocations: 26.86 kB / 445.1 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1795, allocations: 181.3 kB / 445.3 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1796, allocations: 5.844 kB / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1796, allocations: 0 / 445.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1796, allocations: 2.875 kB / 445.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004116/0.18, allocations: 372.9 kB / 445.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.18, allocations: 9.312 kB / 445.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.122e-05/0.18, allocations: 41.55 kB / 445.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.1801, allocations: 9.078 kB / 445.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.1802, allocations: 145.9 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.1802, allocations: 6.391 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.1802, allocations: 3.438 kB / 445.8 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.1804, allocations: 121.9 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1804, allocations: 192 / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1804, allocations: 7 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1804, allocations: 4.125 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.1805, allocations: 73.33 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003458/0.1809, allocations: 308.2 kB / 446.3 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.181, allocations: 73.53 kB / 446.4 MB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/0.1811, allocations: 50.61 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.1811, allocations: 3.938 kB / 446.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.1811, allocations: 37.38 kB / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.1811, allocations: 0 / 446.5 MB, free: 42.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008799/0.182, allocations: 413.4 kB / 446.9 MB, free: 42.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.182, allocations: 77.11 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/0.1821, allocations: 170.9 kB / 447.2 MB, free: 41.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.1821, allocations: 32.83 kB / 447.2 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.1822, allocations: 107.2 kB / 447.3 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.1822, allocations: 29.14 kB / 447.3 MB, free: 41.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1822, allocations: 23.47 kB / 447.3 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.1823, allocations: 329.7 kB / 447.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1824, allocations: 78.09 kB / 447.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1825, allocations: 125.1 kB / 447.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.1828, allocations: 167.1 kB / 448 MB, free: 41.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1828, allocations: 4.5 kB / 448 MB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002902/0.1831, allocations: 207.5 kB / 448.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1831, allocations: 5.844 kB / 448.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1831, allocations: 0 / 448.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1831, allocations: 0 / 448.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1832, allocations: 46.89 kB / 448.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1832, allocations: 0 / 448.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.15e-05/0.1833, allocations: 28.92 kB / 448.3 MB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1833, allocations: 0 / 448.3 MB, free: 41.31 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 (10): * Single equations (assignments): 10 * 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 4.844e-05/0.1834, allocations: 129.5 kB / 448.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.1834, allocations: 13.69 kB / 448.5 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.1837, allocations: 224.1 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1837, allocations: 0 / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1837, allocations: 0 / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1837, allocations: 8.984 kB / 448.7 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.1842, allocations: 475 kB / 449.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1842, allocations: 2.812 kB / 449.1 MB, free: 40.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.166e-05/0.1842, allocations: 40.14 kB / 449.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1843, allocations: 6.688 kB / 449.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.1843, allocations: 2.781 kB / 449.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1843, allocations: 0 / 449.2 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1843, allocations: 6.281 kB / 449.2 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1846, allocations: 304.8 kB / 449.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.1846, allocations: 14.2 kB / 449.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1846, allocations: 2.844 kB / 449.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.1847, allocations: 28.14 kB / 449.5 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.1847, allocations: 14 kB / 449.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.1847, allocations: 6.875 kB / 449.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.1848, allocations: 127.9 kB / 449.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1848, allocations: 0 / 449.7 MB, free: 40.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.185, allocations: 53.42 kB / 449.7 MB, free: 40.46 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 (9): * Single equations (assignments): 9 * 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.001122/0.1861, allocations: 1.255 MB / 451 MB, free: 39.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.1864, allocations: 173.1 kB / 451.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1864, allocations: 192 / 451.2 MB, free: 39.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.1866, allocations: 96.66 kB / 451.3 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1869, allocations: 38.7 kB / 451.3 MB, free: 39.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1884, allocations: 1.934 MB / 453.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.781e-05/0.1884, allocations: 92.5 kB / 453.3 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.478e-05/0.1885, allocations: 31.23 kB / 453.4 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.1886, allocations: 43.33 kB / 453.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1886, allocations: 0 / 453.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.2055, allocations: 5.242 MB / 458.6 MB, free: 36.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.149, allocations: 4.859 kB / 458.6 MB, free: 36.54 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.211775857023895]