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.0009334/0.0009334, allocations: 88.27 kB / 20.77 MB, free: 3.754 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.00133/0.00133, allocations: 160.9 kB / 24.06 MB, free: 476 kB / 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.9463/0.9463, allocations: 177 MB / 204.2 MB, free: 5.723 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.2651/0.2651, allocations: 34.25 MB / 295 MB, free: 0.6875 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 1.082e-06/1.082e-06, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.091e-05, allocations: 2.281 kB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.181/0.181, allocations: 1.678 MB / 444.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.1819, allocations: 0.5765 MB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.393e-05/0.182, allocations: 3.938 kB / 444.7 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1823, allocations: 22.33 kB / 444.7 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.1826, allocations: 90.14 kB / 444.8 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.1829, allocations: 175.9 kB / 444.9 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1831, allocations: 104.4 kB / 445 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1832, allocations: 19.58 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.065e-05/0.1833, allocations: 54.95 kB / 445.1 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.1834, allocations: 35 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1834, allocations: 5.844 kB / 445.2 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1835, allocations: 92.48 kB / 445.2 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.305e-05/0.1836, allocations: 25.59 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.1836, allocations: 24.97 kB / 445.3 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1838, allocations: 185 kB / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1839, allocations: 0 / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1839, allocations: 0 / 445.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1839, allocations: 2.969 kB / 445.5 MB, free: 42.99 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.0005044/0.1844, allocations: 377.6 kB / 445.8 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.1844, allocations: 11.03 kB / 445.9 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.1844, allocations: 38.03 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1845, allocations: 10.8 kB / 445.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.1846, allocations: 146 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1846, allocations: 2.844 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1847, allocations: 3.219 kB / 446.1 MB, free: 42.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.1849, allocations: 126.1 kB / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1849, allocations: 192 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1849, allocations: 384 / 446.2 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1849, allocations: 7.438 kB / 446.2 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1851, allocations: 71.19 kB / 446.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1855, allocations: 309.2 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1857, allocations: 78.81 kB / 446.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.462e-05/0.1858, allocations: 50.22 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1858, allocations: 6.75 kB / 446.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1858, allocations: 30.56 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1858, allocations: 0 / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001035/0.1869, allocations: 414.2 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1869, allocations: 83.95 kB / 447.2 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.187, allocations: 167.7 kB / 447.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.187, allocations: 29.14 kB / 447.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.187, allocations: 103.4 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1871, allocations: 32.47 kB / 447.5 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1871, allocations: 26.97 kB / 447.6 MB, free: 41.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.1871, allocations: 329.1 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1873, allocations: 77.77 kB / 448 MB, free: 41.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.1874, allocations: 118 kB / 448.1 MB, free: 41.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.1877, allocations: 174.9 kB / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1877, allocations: 0 / 448.2 MB, free: 41.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003212/0.188, allocations: 207.1 kB / 448.4 MB, free: 41.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.188, allocations: 5.75 kB / 448.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1881, allocations: 0 / 448.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1881, allocations: 0 / 448.5 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1882, allocations: 45.64 kB / 448.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1882, allocations: 4 kB / 448.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/0.1883, allocations: 23.89 kB / 448.5 MB, free: 41.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1883, allocations: 2.938 kB / 448.5 MB, free: 41.24 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 7.066e-05/0.1884, allocations: 125.9 kB / 448.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1884, allocations: 13.5 kB / 448.7 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.1888, allocations: 225.2 kB / 448.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1888, allocations: 2.688 kB / 448.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1888, allocations: 0 / 448.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1888, allocations: 0 / 448.9 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.1893, allocations: 486.5 kB / 449.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1893, allocations: 0 / 449.4 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.1894, allocations: 38.12 kB / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1894, allocations: 0 / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1894, allocations: 4 kB / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1894, allocations: 5.375 kB / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1894, allocations: 7.938 kB / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003067/0.1898, allocations: 302 kB / 449.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.1898, allocations: 12.94 kB / 449.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.1898, allocations: 7.328 kB / 449.7 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.1899, allocations: 32.09 kB / 449.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.1899, allocations: 14.19 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1899, allocations: 2.906 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.692e-05/0.19, allocations: 133.2 kB / 449.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.19, allocations: 0 / 449.9 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.1902, allocations: 47.23 kB / 450 MB, free: 40.39 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.001405/0.1917, allocations: 1.254 MB / 451.2 MB, free: 39.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.1921, allocations: 180.2 kB / 451.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1921, allocations: 0 / 451.4 MB, free: 39.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.1923, allocations: 86.98 kB / 451.5 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1927, allocations: 23.98 kB / 451.5 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.1947, allocations: 1.936 MB / 453.4 MB, free: 38.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.935e-05/0.1948, allocations: 96.56 kB / 453.5 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1949, allocations: 34.23 kB / 453.6 MB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.38e-05/0.195, allocations: 42.22 kB / 453.6 MB, free: 38.05 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.195, allocations: 0 / 453.6 MB, free: 38.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.2182, allocations: 5.244 MB / 458.8 MB, free: 36.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/7.112, allocations: 3.969 kB / 458.8 MB, free: 36.48 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.26806876808405]